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_tx.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_tx.c')
-rw-r--r-- | net/ieee80211/ieee80211_tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index e5b33c8d5dbc..8fdd943ebe8e 100644 --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c | |||
@@ -127,7 +127,7 @@ payload of each frame is reduced to 492 bytes. | |||
127 | static u8 P802_1H_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0xf8 }; | 127 | static u8 P802_1H_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0xf8 }; |
128 | static u8 RFC1042_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0x00 }; | 128 | static u8 RFC1042_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0x00 }; |
129 | 129 | ||
130 | static inline int ieee80211_copy_snap(u8 * data, u16 h_proto) | 130 | static int ieee80211_copy_snap(u8 * data, u16 h_proto) |
131 | { | 131 | { |
132 | struct ieee80211_snap_hdr *snap; | 132 | struct ieee80211_snap_hdr *snap; |
133 | u8 *oui; | 133 | u8 *oui; |
@@ -150,7 +150,7 @@ static inline int ieee80211_copy_snap(u8 * data, u16 h_proto) | |||
150 | return SNAP_SIZE + sizeof(u16); | 150 | return SNAP_SIZE + sizeof(u16); |
151 | } | 151 | } |
152 | 152 | ||
153 | static inline int ieee80211_encrypt_fragment(struct ieee80211_device *ieee, | 153 | static int ieee80211_encrypt_fragment(struct ieee80211_device *ieee, |
154 | struct sk_buff *frag, int hdr_len) | 154 | struct sk_buff *frag, int hdr_len) |
155 | { | 155 | { |
156 | struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; | 156 | struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; |