summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/prepargs.h
diff options
context:
space:
mode:
authorrpokala <rpokala@FreeBSD.org>2017-02-01 04:54:23 +0000
committerrpokala <rpokala@FreeBSD.org>2017-02-01 04:54:23 +0000
commitfff555f1c38b463fad6db9bf58798e78af22a0aa (patch)
tree75669e5825b87529532623ce24d3a6ec1d22c838 /contrib/diff/lib/prepargs.h
parent66719a9a68fedee2a31540dbb147c992ac787574 (diff)
downloadFreeBSD-src-fff555f1c38b463fad6db9bf58798e78af22a0aa.zip
FreeBSD-src-fff555f1c38b463fad6db9bf58798e78af22a0aa.tar.gz
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.
Diffstat (limited to 'contrib/diff/lib/prepargs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud