Skip to content

Commit

Permalink
drivers: net: Mark functions as static in debug.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rashika Kheria authored and David S. Miller committed Dec 19, 2013
1 parent 44468f5 commit c503681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlegacy/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c503681

Please sign in to comment.