mwl8k: remove unused mwl8k_vif::priv
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 30 Nov 2009 17:33:04 +0000 (18:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:27 +0000 (16:31 -0500)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c

index b20820a015ccd82c156320a7c535470a6223f80d..6fa2bde5b618ab8733904eddb25cd4a07412d98b 100644 (file)
@@ -204,9 +204,6 @@ struct mwl8k_priv {
 
 /* Per interface specific private data */
 struct mwl8k_vif {
-       /* backpointer to parent config block */
-       struct mwl8k_priv *priv;
-
        /* BSS config of AP or IBSS from mac80211*/
        struct ieee80211_bss_conf bss_info;
 
@@ -2877,9 +2874,6 @@ static int mwl8k_add_interface(struct ieee80211_hw *hw,
        mwl8k_cmd_set_mac_addr(hw, conf->mac_addr);
        memcpy(mwl8k_vif->mac_addr, conf->mac_addr, ETH_ALEN);
 
-       /* Back pointer to parent config block */
-       mwl8k_vif->priv = priv;
-
        /* Set Initial sequence number to zero */
        mwl8k_vif->seqno = 0;