diff options
author | Pavel Roskin <proski@gnu.org> | 2010-02-19 01:28:02 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 20:02:54 (GMT) |
commit | 626ede6b1aafb3a8cadfdd04b512fd1d3dc2113e (patch) | |
tree | b27f4e4d8f05b293ca0a32f54fb37e38f1870f87 /drivers/net/wireless/ath/ath5k/qcu.c | |
parent | 62bb2ac5cb6c2f813e151617525ec518e2d1c649 (diff) | |
download | linux-fsl-qoriq-626ede6b1aafb3a8cadfdd04b512fd1d3dc2113e.tar.xz |
ath5k: remove stale function declarations, make some functions static
Remove all unnecessary function declarations from ath5k.h. Comment out
unused functions. Remove ath5k_hw_get_tsf32(), which is too trivial to
be commented out. Make functions static if suggested by sparse. Make
ath5k_pm_ops static.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/qcu.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/qcu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/qcu.c b/drivers/net/wireless/ath/ath5k/qcu.c index 9122a85..d9cab7c 100644 --- a/drivers/net/wireless/ath/ath5k/qcu.c +++ b/drivers/net/wireless/ath/ath5k/qcu.c @@ -516,6 +516,7 @@ int ath5k_hw_reset_tx_queue(struct ath5k_hw *ah, unsigned int queue) return 0; } +#if 0 /* * Get slot time from DCU */ @@ -532,6 +533,7 @@ unsigned int ath5k_hw_get_slot_time(struct ath5k_hw *ah) return ath5k_hw_clocktoh(ah, slot_time_clock & 0xffff); } +#endif /* * Set slot time on DCU |