summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtl818x/rtl8180.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-12-22 18:13:04 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:31:38 -0500
commit643aab6733799586c798a7b54b85c34d587b25e3 (patch)
treeb85ec6e44aafad3fff96676b6e281f46f108ccf6 /drivers/net/wireless/rtl818x/rtl8180.h
parent5122d8986232ef2a761f5cf70c31666c4d65c3e4 (diff)
rtl8180: remove priv->mode
It is only checked in add_interface, and there it is easily replaced with a check of priv->vif. If that information should become necessary, it is available in vif->type anyway. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8180.h')
-rw-r--r--drivers/net/wireless/rtl818x/rtl8180.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180.h b/drivers/net/wireless/rtl818x/rtl8180.h
index 8721282a8185..de3844fe06d8 100644
--- a/drivers/net/wireless/rtl818x/rtl8180.h
+++ b/drivers/net/wireless/rtl818x/rtl8180.h
@@ -60,7 +60,6 @@ struct rtl8180_priv {
struct rtl818x_csr __iomem *map;
const struct rtl818x_rf_ops *rf;
struct ieee80211_vif *vif;
- int mode;
/* rtl8180 driver specific */
spinlock_t lock;