From: Andrew Morton - There's no point in forward-declaring a static inline function (or there shouldn't be, and there isn't here). - udpate_tx_stats() is too big to inline. Cc: Thomas Lange Cc: Sergei Shtylyov Cc: Jordan Crouse Cc: Jeff Garzik Signed-off-by: Andrew Morton --- drivers/net/au1000_eth.c | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-) diff -puN drivers/net/au1000_eth.c~amd-au1xx0-fix-ethernet-tx-stats-tidy drivers/net/au1000_eth.c --- 25/drivers/net/au1000_eth.c~amd-au1xx0-fix-ethernet-tx-stats-tidy Wed Mar 15 14:38:03 2006 +++ 25-akpm/drivers/net/au1000_eth.c Wed Mar 15 14:38:03 2006 @@ -90,8 +90,6 @@ static void au1000_tx_timeout(struct net static int au1000_set_config(struct net_device *dev, struct ifmap *map); static void set_rx_mode(struct net_device *); static struct net_device_stats *au1000_get_stats(struct net_device *); -static inline void update_tx_stats(struct net_device *, u32); -static inline void update_rx_stats(struct net_device *, u32); static void au1000_timer(unsigned long); static int au1000_ioctl(struct net_device *, struct ifreq *, int); static int mdio_read(struct net_device *, int, int); @@ -1825,9 +1823,7 @@ static void __exit au1000_cleanup_module } } - -static inline void -update_tx_stats(struct net_device *dev, u32 status) +static void update_tx_stats(struct net_device *dev, u32 status) { struct au1000_private *aup = (struct au1000_private *) dev->priv; struct net_device_stats *ps = &aup->stats; @@ -1937,7 +1933,6 @@ static int au1000_tx(struct sk_buff *skb return 0; } - static inline void update_rx_stats(struct net_device *dev, u32 status) { struct au1000_private *aup = (struct au1000_private *) dev->priv; _