Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8192u: Remove unused function

Function rtl8192_try_wake_queue is defined but not used, so remove it.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ksenija Stanojevic and committed by
Greg Kroah-Hartman
c14291d2 5a2f464a

-15
-15
drivers/staging/rtl8192u/r8192U_core.c
··· 5114 5114 RT_TRACE(COMP_DOWN, "Exiting"); 5115 5115 } 5116 5116 5117 - 5118 - void rtl8192_try_wake_queue(struct net_device *dev, int pri) 5119 - { 5120 - unsigned long flags; 5121 - short enough_desc; 5122 - struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); 5123 - 5124 - spin_lock_irqsave(&priv->tx_lock, flags); 5125 - enough_desc = check_nic_enough_desc(dev, pri); 5126 - spin_unlock_irqrestore(&priv->tx_lock, flags); 5127 - 5128 - if (enough_desc) 5129 - ieee80211_wake_queue(priv->ieee80211); 5130 - } 5131 - 5132 5117 void EnableHWSecurityConfig8192(struct net_device *dev) 5133 5118 { 5134 5119 u8 SECR_value = 0x0;