diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2010-12-27 15:05:35 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-04 14:35:14 -0500 |
commit | a39fd6be19bde021314262a6d2193b3792c808db (patch) | |
tree | d3f3c3a2729422edaf659a4d6fe99a8cb719a568 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 773d1b98268a9effac047fd2ab1c47bf9f7a9e5f (diff) | |
download | linux-a39fd6be19bde021314262a6d2193b3792c808db.tar.gz linux-a39fd6be19bde021314262a6d2193b3792c808db.tar.bz2 linux-a39fd6be19bde021314262a6d2193b3792c808db.zip |
rt2x00: remove intf->mac field.
The mac field of the rt2x00_intf structure is written to once and used
twice. In both these uses the mac address is available via other means.
Remove this field as it does not appear to be necessary.
Signed-off-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>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 5f7f52ff74d2..755b723400f5 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h @@ -360,11 +360,6 @@ struct rt2x00_intf { spinlock_t lock; /* - * MAC of the device. - */ - u8 mac[ETH_ALEN]; - - /* * beacon->skb must be protected with the mutex. */ struct mutex beacon_skb_mutex; |