]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers: net: Mark functions as static in debug.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 14 Dec 2013 12:30:25 +0000 (18:00 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:16 +0000 (15:23 -0500)
This patch marks the function il_clear_traffic_stats() in debug.c as
static because they are not used outside this file.

Thus, it also removes the following warnings in
wireless/iwlegacy/debug.c:

drivers/net/wireless/iwlegacy/debug.c:35:1: warning: no previous prototype for ‘il_clear_traffic_stats’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/debug.c

index 3a487a3bb5de8fd62c896409df62562712e41239..34401015319631bb21afda0f48f283f13f6a2343 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "common.h"
 
-void
+static void
 il_clear_traffic_stats(struct il_priv *il)
 {
        memset(&il->tx_stats, 0, sizeof(struct traffic_stats));