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>
This commit is contained in:
parent
5a2f464af2
commit
c14291d2c3
|
@ -5114,21 +5114,6 @@ static void __exit rtl8192_usb_module_exit(void)
|
||||||
RT_TRACE(COMP_DOWN, "Exiting");
|
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)
|
void EnableHWSecurityConfig8192(struct net_device *dev)
|
||||||
{
|
{
|
||||||
u8 SECR_value = 0x0;
|
u8 SECR_value = 0x0;
|
||||||
|
|
Loading…
Reference in New Issue