rt2x00: Remove unused interface spinlock
Since the last user of intf->lock is gone we can safely remove it. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
bfe6a15d60
commit
48103d25c4
@@ -357,12 +357,6 @@ enum rt2x00_delayed_flags {
|
|||||||
* is allocated as the private data for ieee80211_vif.
|
* is allocated as the private data for ieee80211_vif.
|
||||||
*/
|
*/
|
||||||
struct rt2x00_intf {
|
struct rt2x00_intf {
|
||||||
/*
|
|
||||||
* All fields within the rt2x00_intf structure
|
|
||||||
* must be protected with a spinlock.
|
|
||||||
*/
|
|
||||||
spinlock_t lock;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* beacon->skb must be protected with the mutex.
|
* beacon->skb must be protected with the mutex.
|
||||||
*/
|
*/
|
||||||
|
@@ -268,7 +268,6 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw,
|
|||||||
else
|
else
|
||||||
rt2x00dev->intf_sta_count++;
|
rt2x00dev->intf_sta_count++;
|
||||||
|
|
||||||
spin_lock_init(&intf->lock);
|
|
||||||
spin_lock_init(&intf->seqlock);
|
spin_lock_init(&intf->seqlock);
|
||||||
mutex_init(&intf->beacon_skb_mutex);
|
mutex_init(&intf->beacon_skb_mutex);
|
||||||
intf->beacon = entry;
|
intf->beacon = entry;
|
||||||
|
Reference in New Issue
Block a user