summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-11-26 19:49:34 +0000
committerthompsa <thompsa@FreeBSD.org>2006-11-26 19:49:34 +0000
commit7a0f94ae15ccd01f41f23e78ac95424efd1e5104 (patch)
tree24e2c981e092b514b055d8ad5643f2b2eb844be9 /sys/net
parent54d06989c06c15ee445211d4085c71bcdd880a10 (diff)
downloadFreeBSD-src-7a0f94ae15ccd01f41f23e78ac95424efd1e5104.zip
FreeBSD-src-7a0f94ae15ccd01f41f23e78ac95424efd1e5104.tar.gz
Remove redundant setting of port state.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bridgestp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 3549fce..7430498 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -1800,7 +1800,6 @@ static void
bstp_disable_port(struct bstp_state *bs, struct bstp_port *bp)
{
bp->bp_infois = BSTP_INFO_DISABLED;
- bstp_set_port_state(bp, BSTP_IFSTATE_DISCARDING);
bstp_assign_roles(bs);
}
OpenPOWER on IntegriCloud