drivers: net: Mark functions as static in debug.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 08:55:34 +0000 (14:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 23:51:21 +0000 (18:51 -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: David S. Miller <davem@davemloft.net>
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));