From: Ana Rey Date: Wed, 19 Mar 2014 11:47:27 +0000 (+0100) Subject: staging: rtl8192u: make in r819xU_cmdpkt.c some local functions static X-Git-Tag: MMI-PSA29.97-13-9~12500^2~33 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e93d7adb25b0ce36dc594d83a9de62a70ea049b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192u: make in r819xU_cmdpkt.c some local functions static Make some local functions static. Fix sparse warnings in r819xU_cmdpkt.c drivers/staging/rtl8192u/r819xU_cmdpkt.c:185:6: warning: symbol 'cmdpkt_beacontimerinterrupt_819xusb' was not declared. Should it be static? Signed-off-by: Ana Rey Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u/r819xU_cmdpkt.c index 7bdcbd39a3b2..723c8630e9e2 100644 --- a/drivers/staging/rtl8192u/r819xU_cmdpkt.c +++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.c @@ -182,7 +182,7 @@ static void cmpk_handle_tx_feedback(struct net_device *dev, u8 *pmsg) } -void cmdpkt_beacontimerinterrupt_819xusb(struct net_device *dev) +static void cmdpkt_beacontimerinterrupt_819xusb(struct net_device *dev) { struct r8192_priv *priv = ieee80211_priv(dev); u16 tx_rate;