staging: rtl8192u: Remove unused function
PATCH 1/1 staging: rtl8192u: Remove unused function
Drop function that is declared but not called anywhere.
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/rtl8192u/r8192U_core.c | 15 --------------- 1 file changed, 15 deletions(-)
drivers/staging/rtl8192u/r8192U_core.c +0 -15
@@ -5060,21 +5060,6 @@ static void __exit rtl8192_usb_module_exit(void)RT_TRACE (COMP_DOWN ,"Exiting" ); } - -void rtl8192_try_wake_queue (struct net_device *dev,int pri) -{ -unsigned long flags; -short enough_desc; -struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv (dev); - -spin_lock_irqsave (&priv->tx_lock, flags); - enough_desc =check_nic_enough_desc (dev, pri); -spin_unlock_irqrestore (&priv->tx_lock, flags); - -if (enough_desc) -ieee80211_wake_queue (priv->ieee80211); -} -void EnableHWSecurityConfig8192 (struct net_device *dev) {u8 SECR_value =0x0 ;
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 6 lines · Amitoj Kaur Chawla
Drop function that is declared but not called anywhere.
Signed-off-by Amitoj Kaur Chawla <[email protected]>--- drivers/staging/rtl8192u/r8192U_core.c | 15 --------------- 1 file changed, 15 deletions(-)
Someone else sent this patch 2 days before you did, sorry.