Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d16e05f7 authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Greg Kroah-Hartman
Browse files

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: default avatarHimangi Saraogi <himangi774@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b670705
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);