aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 11:55:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:38 -0400
commit1ac812f161801c276dd520def0e81b9938eb7761 (patch)
tree7faaf3a9631daed7fa0814ca162f3a2ffc424467 /drivers/net/wireless/libertas/main.c
parented37b51610ff4e853893a92bb725bab99d17b236 (diff)
[PATCH] libertas: get rid of libertas_sbi_get_priv()
It's not really needed, because we can call wlan_remove_card() with wlan_private* anyway. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index b0cc42b67efb..f9369e50da3c 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -963,9 +963,8 @@ static void wake_pending_cmdnodes(wlan_private *priv)
963} 963}
964 964
965 965
966int wlan_remove_card(void *card) 966int wlan_remove_card(wlan_private *priv)
967{ 967{
968 wlan_private *priv = libertas_sbi_get_priv(card);
969 wlan_adapter *adapter; 968 wlan_adapter *adapter;
970 struct net_device *dev; 969 struct net_device *dev;
971 union iwreq_data wrqu; 970 union iwreq_data wrqu;