diff options
author | Michal Piotrowski <michal.k.k.piotrowski@gmail.com> | 2006-09-25 19:39:21 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-25 20:01:19 -0400 |
commit | 0fe2480aded9504434e24815c410cbebb4f4efad (patch) | |
tree | 4605c6d7be87caaa4558e5882c46d31afc1dc968 /drivers/net | |
parent | f8d9c9c876d3a2a109caa2c06b2761af0337c2f4 (diff) |
[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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/typhoon.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c index 8f6f6fd8b87d..d5c32e9caa97 100644 --- a/drivers/net/typhoon.c +++ b/drivers/net/typhoon.c | |||
@@ -333,11 +333,7 @@ enum state_values { | |||
333 | #define TYPHOON_RESET_TIMEOUT_NOSLEEP ((6 * 1000000) / TYPHOON_UDELAY) | 333 | #define TYPHOON_RESET_TIMEOUT_NOSLEEP ((6 * 1000000) / TYPHOON_UDELAY) |
334 | #define TYPHOON_WAIT_TIMEOUT ((1000000 / 2) / TYPHOON_UDELAY) | 334 | #define TYPHOON_WAIT_TIMEOUT ((1000000 / 2) / TYPHOON_UDELAY) |
335 | 335 | ||
336 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 28) | ||
337 | #define typhoon_synchronize_irq(x) synchronize_irq() | ||
338 | #else | ||
339 | #define typhoon_synchronize_irq(x) synchronize_irq(x) | 336 | #define typhoon_synchronize_irq(x) synchronize_irq(x) |
340 | #endif | ||
341 | 337 | ||
342 | #if defined(NETIF_F_TSO) | 338 | #if defined(NETIF_F_TSO) |
343 | #define skb_tso_size(x) (skb_shinfo(x)->gso_size) | 339 | #define skb_tso_size(x) (skb_shinfo(x)->gso_size) |