]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers: net: Mark functions as static in 3945-debug.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 14 Dec 2013 12:27:14 +0000 (17:57 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:12 +0000 (15:23 -0500)
commit03a71e03282e02cc1cf7884f31314d9c55db9a82
tree1cbca582dc2817f7c9a49476cb3a7f388a1a6ab4
parent82efa16ad2a30302e1d28ad9e6265a33a8ecc921
drivers: net: Mark functions as static in 3945-debug.c

This patch marks the function il3945_ucode_rx_stats_read(),
il3945_ucode_tx_stats_read() and il3945_ucode_general_stats_read() in
3945-debug.c as static because they are not used outside this file.

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

drivers/net/wireless/iwlegacy/3945-debug.c:52:1: warning: no previous prototype for ‘il3945_ucode_rx_stats_read’ [-Wmissing-prototypes]
drivers/net/wireless/iwlegacy/3945-debug.c:317:1: warning: no previous prototype for ‘il3945_ucode_tx_stats_read’ [-Wmissing-prototypes]
drivers/net/wireless/iwlegacy/3945-debug.c:407:1: warning: no previous prototype for ‘il3945_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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-debug.c