From b50f3dc191443350d85d0fb2a9ace6ac8727805b Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sun, 12 Sep 2010 23:21:53 +0200 Subject: [PATCH] --- yaml --- r: 219844 b: refs/heads/master c: f73d8b43219970ecb010f34649d22042a5723318 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/batman-adv/main.c | 2 -- trunk/drivers/staging/batman-adv/types.h | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 2dd65e87fe73..0d4a2a6e0fd6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 09686b560ff229bc6c87489717dce118c7d2b20b +refs/heads/master: f73d8b43219970ecb010f34649d22042a5723318 diff --git a/trunk/drivers/staging/batman-adv/main.c b/trunk/drivers/staging/batman-adv/main.c index b3e23e11fbe9..78ceebf75449 100644 --- a/trunk/drivers/staging/batman-adv/main.c +++ b/trunk/drivers/staging/batman-adv/main.c @@ -84,13 +84,11 @@ int mesh_init(struct net_device *soft_iface) spin_lock_init(&bat_priv->forw_bcast_list_lock); spin_lock_init(&bat_priv->hna_lhash_lock); spin_lock_init(&bat_priv->hna_ghash_lock); - spin_lock_init(&bat_priv->gw_list_lock); spin_lock_init(&bat_priv->vis_hash_lock); spin_lock_init(&bat_priv->vis_list_lock); INIT_HLIST_HEAD(&bat_priv->forw_bat_list); INIT_HLIST_HEAD(&bat_priv->forw_bcast_list); - INIT_HLIST_HEAD(&bat_priv->gw_list); if (originator_init(bat_priv) < 1) goto err; diff --git a/trunk/drivers/staging/batman-adv/types.h b/trunk/drivers/staging/batman-adv/types.h index e779c4a0f214..9d744d864028 100644 --- a/trunk/drivers/staging/batman-adv/types.h +++ b/trunk/drivers/staging/batman-adv/types.h @@ -128,7 +128,6 @@ struct bat_priv { struct dentry *debug_dir; struct hlist_head forw_bat_list; struct hlist_head forw_bcast_list; - struct hlist_head gw_list; struct list_head vis_send_list; struct hashtable_t *orig_hash; struct hashtable_t *hna_local_hash; @@ -139,7 +138,6 @@ struct bat_priv { spinlock_t forw_bcast_list_lock; spinlock_t hna_lhash_lock; spinlock_t hna_ghash_lock; - spinlock_t gw_list_lock; spinlock_t vis_hash_lock; spinlock_t vis_list_lock; int16_t num_local_hna; @@ -147,7 +145,6 @@ struct bat_priv { struct delayed_work hna_work; struct delayed_work orig_work; struct delayed_work vis_work; - struct gw_node *curr_gw; struct vis_info *my_vis_info; };