diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-20 19:39:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-01-30 20:35:31 -0500 |
commit | a73e22b286bd162d10526521b34f2d6f37aac635 (patch) | |
tree | 728562af8aa42a145cf9b591382b044a31e94fb4 /drivers/net/wireless/ipw2200.h | |
parent | 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab (diff) |
[PATCH] drivers/net/wireless/ipw2200: possible cleanups
This patch contains the following possible cleanups:
- make needlessly global functions static
- "extern inline" -> "static inline"
- #if 0 the unused global function ipw_led_activity_on()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r-- | drivers/net/wireless/ipw2200.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h index e65620a4d79e..e2afa76ad3cd 100644 --- a/drivers/net/wireless/ipw2200.h +++ b/drivers/net/wireless/ipw2200.h | |||
@@ -852,7 +852,7 @@ struct ipw_scan_request_ext { | |||
852 | u16 dwell_time[IPW_SCAN_TYPES]; | 852 | u16 dwell_time[IPW_SCAN_TYPES]; |
853 | } __attribute__ ((packed)); | 853 | } __attribute__ ((packed)); |
854 | 854 | ||
855 | extern inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index) | 855 | static inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index) |
856 | { | 856 | { |
857 | if (index % 2) | 857 | if (index % 2) |
858 | return scan->scan_type[index / 2] & 0x0F; | 858 | return scan->scan_type[index / 2] & 0x0F; |
@@ -860,7 +860,7 @@ extern inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index) | |||
860 | return (scan->scan_type[index / 2] & 0xF0) >> 4; | 860 | return (scan->scan_type[index / 2] & 0xF0) >> 4; |
861 | } | 861 | } |
862 | 862 | ||
863 | extern inline void ipw_set_scan_type(struct ipw_scan_request_ext *scan, | 863 | static inline void ipw_set_scan_type(struct ipw_scan_request_ext *scan, |
864 | u8 index, u8 scan_type) | 864 | u8 index, u8 scan_type) |
865 | { | 865 | { |
866 | if (index % 2) | 866 | if (index % 2) |