]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: net: Mark functions as static in 4965-debug.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 08:54:38 +0000 (14:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 23:51:21 +0000 (18:51 -0500)
commit44468f5b97b0f8d746d0ddf0cc35dc7ed1179368
treeadbb15e227b5194b633510c86bbafe7d6435b0a9
parent9b0124d815c52a67f886637e62b5fc61273e763e
drivers: net: Mark functions as static in 4965-debug.c

This patch marks the function il4965_ucode_rx_stats_read(),
il4965_ucode_tx_stats_read() and il4965_ucode_general_stats_read() in
4965-debug.c as static because they are not used outside this file.

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

drivers/net/wireless/iwlegacy/4965-debug.c:59:1: warning: no previous prototype for ‘il4965_ucode_rx_stats_read’ [-Wmissing-prototypes]
drivers/net/wireless/iwlegacy/4965-debug.c:471:1: warning: no previous prototype for ‘il4965_ucode_tx_stats_read’ [-Wmissing-prototypes]
drivers/net/wireless/iwlegacy/4965-debug.c:637:1: warning: no previous prototype for ‘il4965_ucode_general_stats_read’ [-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/4965-debug.c