summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-04 01:01:30 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-03-04 01:01:30 +0100
commit84ff4cd5f8f4bca062e2c9fa8690433c492567a8 (patch)
treeb9fdb8f4843be2fa03055a952d52f582dcd10fde
parent85c3eb9af8b3d0283f07719a455d503fee7892ae (diff)
remove redundant variable assignment
-rw-r--r--bridge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bridge.c b/bridge.c
index 86787c7..1ffc6b1 100644
--- a/bridge.c
+++ b/bridge.c
@@ -262,10 +262,6 @@ bridge_member_update(struct vlist_tree *tree, struct vlist_node *node_new,
device_remove_user(&bm->dev);
free(bm);
}
-
- if (node_new) {
- bm = container_of(node_new, struct bridge_member, node);
- }
}