From: Himangi Saraogi Date: Sat, 8 Mar 2014 22:51:41 +0000 (+0530) Subject: staging:rtl8192u: Fix smatch warning of function definition with external linkage X-Git-Tag: MMI-PSA29.97-13-9~12500^2~490 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d16e05f70c9e9b78b7c21286e6b2a00e9467b1e5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- 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);