diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-19 14:25:34 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-19 18:51:21 -0500 |
commit | c5036813559ed45b517f28be876b29ccead689c5 (patch) | |
tree | df83488d514c0e77932d61a9a0d9147b6269966c | |
parent | 44468f5b97b0f8d746d0ddf0cc35dc7ed1179368 (diff) | |
download | blackbird-op-linux-c5036813559ed45b517f28be876b29ccead689c5.tar.gz blackbird-op-linux-c5036813559ed45b517f28be876b29ccead689c5.zip |
drivers: net: Mark functions as static in debug.c
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>
-rw-r--r-- | drivers/net/wireless/iwlegacy/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/debug.c b/drivers/net/wireless/iwlegacy/debug.c index 3a487a3bb5de..344010153196 100644 --- a/drivers/net/wireless/iwlegacy/debug.c +++ b/drivers/net/wireless/iwlegacy/debug.c @@ -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)); |