summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNélio Laranjeiro2013-05-29 16:30:26 +0200
committerNélio Laranjeiro2013-06-06 16:07:47 +0200
commit3457a7a93ad4a25bf81cfc71a1c32bcc4036c7b5 (patch)
treef15d4d7ed5d676bbe18f206ede481bcb662dcdce
parent024eaf1e8267ebae85cfadf8fa042433ee7da655 (diff)
cesar/cp/sta/mgr: remove a duplicated instruction
-rw-r--r--cesar/cp/sta/mgr/src/sta_mgr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cesar/cp/sta/mgr/src/sta_mgr.c b/cesar/cp/sta/mgr/src/sta_mgr.c
index c57af67bc5..c58c45cc04 100644
--- a/cesar/cp/sta/mgr/src/sta_mgr.c
+++ b/cesar/cp/sta/mgr/src/sta_mgr.c
@@ -275,8 +275,6 @@ cp_sta_mgr_remove_avln (cp_t *ctx, cp_snid_t snid, cp_nid_t nid)
cco_mac = MAC_ZERO;
slab_release (cco);
}
- if (net == ctx->sta_mgr.our_avln)
- cp_sta_mgr_set_our_avln (ctx, NULL);
/* Inform BSU. */
bsu_avln_remove (ctx->bsu, nid, snid, cco_mac);
cp_net_uninit (ctx, net);