diff options
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 6d51caaf8cec..94d4968a953a 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c | |||
@@ -96,13 +96,10 @@ int mesh_init(struct net_device *soft_iface) | |||
96 | spin_lock_init(&bat_priv->gw_list_lock); | 96 | spin_lock_init(&bat_priv->gw_list_lock); |
97 | spin_lock_init(&bat_priv->vis_hash_lock); | 97 | spin_lock_init(&bat_priv->vis_hash_lock); |
98 | spin_lock_init(&bat_priv->vis_list_lock); | 98 | spin_lock_init(&bat_priv->vis_list_lock); |
99 | spin_lock_init(&bat_priv->softif_neigh_lock); | ||
100 | spin_lock_init(&bat_priv->softif_neigh_vid_lock); | ||
101 | 99 | ||
102 | INIT_HLIST_HEAD(&bat_priv->forw_bat_list); | 100 | INIT_HLIST_HEAD(&bat_priv->forw_bat_list); |
103 | INIT_HLIST_HEAD(&bat_priv->forw_bcast_list); | 101 | INIT_HLIST_HEAD(&bat_priv->forw_bcast_list); |
104 | INIT_HLIST_HEAD(&bat_priv->gw_list); | 102 | INIT_HLIST_HEAD(&bat_priv->gw_list); |
105 | INIT_HLIST_HEAD(&bat_priv->softif_neigh_vids); | ||
106 | INIT_LIST_HEAD(&bat_priv->tt_changes_list); | 103 | INIT_LIST_HEAD(&bat_priv->tt_changes_list); |
107 | INIT_LIST_HEAD(&bat_priv->tt_req_list); | 104 | INIT_LIST_HEAD(&bat_priv->tt_req_list); |
108 | INIT_LIST_HEAD(&bat_priv->tt_roam_list); | 105 | INIT_LIST_HEAD(&bat_priv->tt_roam_list); |
@@ -145,8 +142,6 @@ void mesh_free(struct net_device *soft_iface) | |||
145 | 142 | ||
146 | tt_free(bat_priv); | 143 | tt_free(bat_priv); |
147 | 144 | ||
148 | softif_neigh_purge(bat_priv); | ||
149 | |||
150 | atomic_set(&bat_priv->mesh_state, MESH_INACTIVE); | 145 | atomic_set(&bat_priv->mesh_state, MESH_INACTIVE); |
151 | } | 146 | } |
152 | 147 | ||