summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorHimangi Saraogi2014-03-08 23:51:41 +0100
committerGreg Kroah-Hartman2014-03-09 05:33:49 +0100
commitd16e05f70c9e9b78b7c21286e6b2a00e9467b1e5 (patch)
tree89d23adb709a5bdd3b9067df241ac4d06800ae61 /drivers/staging/rtl8192u
parentstaging: rts5208: Fixed line over 80 characters. (diff)
downloadkernel-qcow2-linux-d16e05f70c9e9b78b7c21286e6b2a00e9467b1e5.tar.gz
kernel-qcow2-linux-d16e05f70c9e9b78b7c21286e6b2a00e9467b1e5.tar.xz
kernel-qcow2-linux-d16e05f70c9e9b78b7c21286e6b2a00e9467b1e5.zip
staging:rtl8192u: Fix smatch warning of function definition with external linkage
This patch fixes the following smatch warning in r8192U_core.c - drivers/staging/rtl8192u/r8192U_core.c:3539:13: warning: function 'rtl819x_watchdog_wqcallback' with external linkage has definition Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r--drivers/staging/rtl8192u/r8192U_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index c2bcbe230ed3..a56be798c164 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -3536,7 +3536,7 @@ void rtl819x_update_rxcounts(struct r8192_priv *priv, u32 *TotalRxBcnNum,
}
-extern void rtl819x_watchdog_wqcallback(struct work_struct *work)
+void rtl819x_watchdog_wqcallback(struct work_struct *work)
{
struct delayed_work *dwork = container_of(work, struct delayed_work, work);
struct r8192_priv *priv = container_of(dwork, struct r8192_priv, watch_dog_wq);