mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
[PATCH] drivers/net/typhoon.c Removal of old code
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
f8d9c9c876
commit
0fe2480ade
@ -333,11 +333,7 @@ enum state_values {
|
||||
#define TYPHOON_RESET_TIMEOUT_NOSLEEP ((6 * 1000000) / TYPHOON_UDELAY)
|
||||
#define TYPHOON_WAIT_TIMEOUT ((1000000 / 2) / TYPHOON_UDELAY)
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 28)
|
||||
#define typhoon_synchronize_irq(x) synchronize_irq()
|
||||
#else
|
||||
#define typhoon_synchronize_irq(x) synchronize_irq(x)
|
||||
#endif
|
||||
|
||||
#if defined(NETIF_F_TSO)
|
||||
#define skb_tso_size(x) (skb_shinfo(x)->gso_size)
|
||||
|
Loading…
Reference in New Issue
Block a user