From 7d4a207cba8924a77a5ee4675eaa06d502f60a9c Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 26 Jul 2006 20:56:02 +0000 Subject: [PATCH] Remove stp variables that are already initialised in bstp_attach(). --- sys/net/if_bridge.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 65393f81492f..c71cdc485ec3 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -461,11 +461,6 @@ bridge_clone_create(struct if_clone *ifc, int unit, caddr_t params) sc->sc_brtmax = BRIDGE_RTABLE_MAX; sc->sc_brttimeout = BRIDGE_RTABLE_TIMEOUT; - sc->sc_stp.bs_bridge_max_age = BSTP_DEFAULT_MAX_AGE; - sc->sc_stp.bs_bridge_hello_time = BSTP_DEFAULT_HELLO_TIME; - sc->sc_stp.bs_bridge_forward_delay = BSTP_DEFAULT_FORWARD_DELAY; - sc->sc_stp.bs_bridge_priority = BSTP_DEFAULT_BRIDGE_PRIORITY; - sc->sc_stp.bs_hold_time = BSTP_DEFAULT_HOLD_TIME; /* Initialize our routing table. */ bridge_rtable_init(sc);