[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>
This commit is contained in:
committed by
John W. Linville
parent
ed37b51610
commit
1ac812f161
@@ -963,9 +963,8 @@ static void wake_pending_cmdnodes(wlan_private *priv)
|
||||
}
|
||||
|
||||
|
||||
int wlan_remove_card(void *card)
|
||||
int wlan_remove_card(wlan_private *priv)
|
||||
{
|
||||
wlan_private *priv = libertas_sbi_get_priv(card);
|
||||
wlan_adapter *adapter;
|
||||
struct net_device *dev;
|
||||
union iwreq_data wrqu;
|
||||
|
Reference in New Issue
Block a user