* [PATCH] staging: rtl8192u: Remove unused function
@ 2015-10-29 21:28 Amitoj Kaur Chawla
2015-11-04 19:05 ` [Outreachy kernel] " Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-29 21:28 UTC (permalink / raw)
To: outreachy-kernel
Drop function that is declared but not called anywhere.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
drivers/staging/rtl8192u/r8192U_core.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index 28b54ba..956458a 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH] staging: rtl8192u: Remove unused function
2015-10-29 21:28 [PATCH] staging: rtl8192u: Remove unused function Amitoj Kaur Chawla
@ 2015-11-04 19:05 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-11-04 19:05 UTC (permalink / raw)
To: Amitoj Kaur Chawla; +Cc: outreachy-kernel
On Fri, Oct 30, 2015 at 02:58:47AM +0530, Amitoj Kaur Chawla wrote:
> Drop function that is declared but not called anywhere.
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
> ---
> drivers/staging/rtl8192u/r8192U_core.c | 15 ---------------
> 1 file changed, 15 deletions(-)
Someone else sent this patch 2 days before you did, sorry.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-04 19:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29 21:28 [PATCH] staging: rtl8192u: Remove unused function Amitoj Kaur Chawla
2015-11-04 19:05 ` [Outreachy kernel] " Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.