[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>
This commit is contained in:
@@ -435,7 +435,7 @@ static void hostap_rx_sta_beacon(local_info_t *local, struct sk_buff *skb,
|
||||
}
|
||||
|
||||
|
||||
static inline int
|
||||
static int
|
||||
hostap_rx_frame_mgmt(local_info_t *local, struct sk_buff *skb,
|
||||
struct hostap_80211_rx_status *rx_stats, u16 type,
|
||||
u16 stype)
|
||||
@@ -499,7 +499,7 @@ hostap_rx_frame_mgmt(local_info_t *local, struct sk_buff *skb,
|
||||
|
||||
|
||||
/* Called only as a tasklet (software IRQ) */
|
||||
static inline struct net_device *prism2_rx_get_wds(local_info_t *local,
|
||||
static struct net_device *prism2_rx_get_wds(local_info_t *local,
|
||||
u8 *addr)
|
||||
{
|
||||
struct hostap_interface *iface = NULL;
|
||||
@@ -519,7 +519,7 @@ static inline struct net_device *prism2_rx_get_wds(local_info_t *local,
|
||||
}
|
||||
|
||||
|
||||
static inline int
|
||||
static int
|
||||
hostap_rx_frame_wds(local_info_t *local, struct ieee80211_hdr_4addr *hdr,
|
||||
u16 fc, struct net_device **wds)
|
||||
{
|
||||
@@ -615,7 +615,7 @@ static int hostap_is_eapol_frame(local_info_t *local, struct sk_buff *skb)
|
||||
|
||||
|
||||
/* Called only as a tasklet (software IRQ) */
|
||||
static inline int
|
||||
static int
|
||||
hostap_rx_frame_decrypt(local_info_t *local, struct sk_buff *skb,
|
||||
struct ieee80211_crypt_data *crypt)
|
||||
{
|
||||
@@ -654,7 +654,7 @@ hostap_rx_frame_decrypt(local_info_t *local, struct sk_buff *skb,
|
||||
|
||||
|
||||
/* Called only as a tasklet (software IRQ) */
|
||||
static inline int
|
||||
static int
|
||||
hostap_rx_frame_decrypt_msdu(local_info_t *local, struct sk_buff *skb,
|
||||
int keyidx, struct ieee80211_crypt_data *crypt)
|
||||
{
|
||||
|
@@ -253,7 +253,7 @@ static void prism2_clear_cmd_queue(local_info_t *local)
|
||||
* @dev: pointer to net_device
|
||||
* @entry: Prism2 command queue entry to be issued
|
||||
*/
|
||||
static inline int hfa384x_cmd_issue(struct net_device *dev,
|
||||
static int hfa384x_cmd_issue(struct net_device *dev,
|
||||
struct hostap_cmd_queue *entry)
|
||||
{
|
||||
struct hostap_interface *iface;
|
||||
@@ -743,7 +743,7 @@ static void prism2_cmd_ev(struct net_device *dev)
|
||||
}
|
||||
|
||||
|
||||
static inline int hfa384x_wait_offset(struct net_device *dev, u16 o_off)
|
||||
static int hfa384x_wait_offset(struct net_device *dev, u16 o_off)
|
||||
{
|
||||
int tries = HFA384X_BAP_BUSY_TIMEOUT;
|
||||
int res = HFA384X_INW(o_off) & HFA384X_OFFSET_BUSY;
|
||||
@@ -1904,7 +1904,7 @@ fail:
|
||||
* and will try to get the correct fid eventually. */
|
||||
#define EXTRA_FID_READ_TESTS
|
||||
|
||||
static inline u16 prism2_read_fid_reg(struct net_device *dev, u16 reg)
|
||||
static u16 prism2_read_fid_reg(struct net_device *dev, u16 reg)
|
||||
{
|
||||
#ifdef EXTRA_FID_READ_TESTS
|
||||
u16 val, val2, val3;
|
||||
@@ -2581,7 +2581,7 @@ static void prism2_ev_tick(struct net_device *dev)
|
||||
|
||||
|
||||
/* Called only from hardware IRQ */
|
||||
static inline void prism2_check_magic(local_info_t *local)
|
||||
static void prism2_check_magic(local_info_t *local)
|
||||
{
|
||||
/* at least PCI Prism2.5 with bus mastering seems to sometimes
|
||||
* return 0x0000 in SWSUPPORT0 for unknown reason, but re-reading the
|
||||
|
Reference in New Issue
Block a user