diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-01-14 16:20:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 21:27:06 -0500 |
commit | 858119e159384308a5dde67776691a2ebf70df0f (patch) | |
tree | f360768f999d51edc0863917ce0bf79e88c0ec4c /net/ieee80211/ieee80211_rx.c | |
parent | b0a9499c3dd50d333e2aedb7e894873c58da3785 (diff) |
[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with
the goal of shrinking it by 30kb to 40kb
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/ieee80211/ieee80211_rx.c')
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index 5e3380388046..7a121802faa9 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #include <net/ieee80211.h> | 36 | #include <net/ieee80211.h> |
37 | 37 | ||
38 | static inline void ieee80211_monitor_rx(struct ieee80211_device *ieee, | 38 | static void ieee80211_monitor_rx(struct ieee80211_device *ieee, |
39 | struct sk_buff *skb, | 39 | struct sk_buff *skb, |
40 | struct ieee80211_rx_stats *rx_stats) | 40 | struct ieee80211_rx_stats *rx_stats) |
41 | { | 41 | { |
@@ -165,7 +165,7 @@ static int ieee80211_frag_cache_invalidate(struct ieee80211_device *ieee, | |||
165 | * Responsible for handling management control frames | 165 | * Responsible for handling management control frames |
166 | * | 166 | * |
167 | * Called by ieee80211_rx */ | 167 | * Called by ieee80211_rx */ |
168 | static inline int | 168 | static int |
169 | ieee80211_rx_frame_mgmt(struct ieee80211_device *ieee, struct sk_buff *skb, | 169 | ieee80211_rx_frame_mgmt(struct ieee80211_device *ieee, struct sk_buff *skb, |
170 | struct ieee80211_rx_stats *rx_stats, u16 type, | 170 | struct ieee80211_rx_stats *rx_stats, u16 type, |
171 | u16 stype) | 171 | u16 stype) |
@@ -266,7 +266,7 @@ static int ieee80211_is_eapol_frame(struct ieee80211_device *ieee, | |||
266 | } | 266 | } |
267 | 267 | ||
268 | /* Called only as a tasklet (software IRQ), by ieee80211_rx */ | 268 | /* Called only as a tasklet (software IRQ), by ieee80211_rx */ |
269 | static inline int | 269 | static int |
270 | ieee80211_rx_frame_decrypt(struct ieee80211_device *ieee, struct sk_buff *skb, | 270 | ieee80211_rx_frame_decrypt(struct ieee80211_device *ieee, struct sk_buff *skb, |
271 | struct ieee80211_crypt_data *crypt) | 271 | struct ieee80211_crypt_data *crypt) |
272 | { | 272 | { |
@@ -297,7 +297,7 @@ ieee80211_rx_frame_decrypt(struct ieee80211_device *ieee, struct sk_buff *skb, | |||
297 | } | 297 | } |
298 | 298 | ||
299 | /* Called only as a tasklet (software IRQ), by ieee80211_rx */ | 299 | /* Called only as a tasklet (software IRQ), by ieee80211_rx */ |
300 | static inline int | 300 | static int |
301 | ieee80211_rx_frame_decrypt_msdu(struct ieee80211_device *ieee, | 301 | ieee80211_rx_frame_decrypt_msdu(struct ieee80211_device *ieee, |
302 | struct sk_buff *skb, int keyidx, | 302 | struct sk_buff *skb, int keyidx, |
303 | struct ieee80211_crypt_data *crypt) | 303 | struct ieee80211_crypt_data *crypt) |
@@ -1156,7 +1156,7 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee | |||
1156 | 1156 | ||
1157 | /***************************************************/ | 1157 | /***************************************************/ |
1158 | 1158 | ||
1159 | static inline int ieee80211_network_init(struct ieee80211_device *ieee, struct ieee80211_probe_response | 1159 | static int ieee80211_network_init(struct ieee80211_device *ieee, struct ieee80211_probe_response |
1160 | *beacon, | 1160 | *beacon, |
1161 | struct ieee80211_network *network, | 1161 | struct ieee80211_network *network, |
1162 | struct ieee80211_rx_stats *stats) | 1162 | struct ieee80211_rx_stats *stats) |
@@ -1235,7 +1235,7 @@ static inline int is_same_network(struct ieee80211_network *src, | |||
1235 | !memcmp(src->ssid, dst->ssid, src->ssid_len)); | 1235 | !memcmp(src->ssid, dst->ssid, src->ssid_len)); |
1236 | } | 1236 | } |
1237 | 1237 | ||
1238 | static inline void update_network(struct ieee80211_network *dst, | 1238 | static void update_network(struct ieee80211_network *dst, |
1239 | struct ieee80211_network *src) | 1239 | struct ieee80211_network *src) |
1240 | { | 1240 | { |
1241 | int qos_active; | 1241 | int qos_active; |
@@ -1294,7 +1294,7 @@ static inline int is_beacon(int fc) | |||
1294 | return (WLAN_FC_GET_STYPE(le16_to_cpu(fc)) == IEEE80211_STYPE_BEACON); | 1294 | return (WLAN_FC_GET_STYPE(le16_to_cpu(fc)) == IEEE80211_STYPE_BEACON); |
1295 | } | 1295 | } |
1296 | 1296 | ||
1297 | static inline void ieee80211_process_probe_response(struct ieee80211_device | 1297 | static void ieee80211_process_probe_response(struct ieee80211_device |
1298 | *ieee, struct | 1298 | *ieee, struct |
1299 | ieee80211_probe_response | 1299 | ieee80211_probe_response |
1300 | *beacon, struct ieee80211_rx_stats | 1300 | *beacon, struct ieee80211_rx_stats |