diff mbox

[OPW,kernel,v2] staging: rtl8192u: make in r819xU_cmdpkt.c some local functions static

Message ID 27b512ea07d41cd64bcee1e5ba7be1c7802b1d3f.1395138049.git.anarey@gmail.com
State New, archived
Headers show

Commit Message

Ana Rey March 18, 2014, 11 a.m. UTC
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 <anarey@gmail.com>
[Changes in V2:]
I sync up with Greg's tree as Peter P Waskiewicz Jr suggested me.
Also, I fix descriptions and subject in this patch.

 drivers/staging/rtl8192u/r819xU_cmdpkt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox


diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u/r819xU_cmdpkt.c
index 7bdcbd3..723c863 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;