2009-01-06 08:51:43

by Rami Rosen

[permalink] [raw]
Subject: [PATCH 6/6] mac80211: remove unused declaration in mesh_plink_block().

This patch removes and unused declaration (mac) in mesh_plink_block(),
mesh_plink.c.

(wireless-testing).

Signed-off-by: Rami Rosen <[email protected]>

diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c
index faac101..1c76a0e 100644
--- a/net/mac80211/mesh_plink.c
+++ b/net/mac80211/mesh_plink.c
@@ -360,10 +360,6 @@ int mesh_plink_open(struct sta_info *sta)

void mesh_plink_block(struct sta_info *sta)
{
-#ifdef CONFIG_MAC80211_VERBOSE_MPL_DEBUG
- DECLARE_MAC_BUF(mac);
-#endif
-
spin_lock_bh(&sta->lock);
__mesh_plink_deactivate(sta);
sta->plink_state = PLINK_BLOCKED;