Skip to contentSkip to conversation

staging: rtl8192u: Remove unused function

PATCH In review Amitoj Kaur Chawla 2 participants 2 messages Oct 29, 2015 – Nov 4, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8192u: Remove unused function

Drop function that is declared but not called anywhere.

---
 drivers/staging/rtl8192u/r8192U_core.c | 15 ---------------
 1 file changed, 15 deletions(-)
drivers/staging/rtl8192u/r8192U_core.c +0 -15
index 28b54ba..956458a 100644
@@ -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
maintainer
#1 lore raw
Quoted 6 lines · Amitoj Kaur Chawla

Drop function that is declared but not called anywhere.

---
 drivers/staging/rtl8192u/r8192U_core.c | 15 ---------------
 1 file changed, 15 deletions(-)

Someone else sent this patch 2 days before you did, sorry.