HomeFreeBSD

MFC r312678: Eliminate misleading comments and dead code in

Description

MFC r312678: Eliminate misleading comments and dead code in
lacp_port_create()

Variables "fast" and "active" are both constant in lacp_port_create(), but
comments mispleadingly suggest that "fast" can be changed via ioctl. The
constant values control the value of "lp->lp_state", so it too is constant,
and the code for assigning different value to it is essentially dead.

Remove both "fast" and "active", and set "lp->lp_state" unconditionally;
that gets rid of the dead code and misleading comments.

Details

Provenance
rpokalaAuthored on
Parents
rS313038: MFC r312678: Eliminate misleading comments and dead code in
Branches
Unknown
Tags
Unknown