mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +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
1 changed files with 0 additions and 4 deletions
|
@ -333,11 +333,7 @@ enum state_values {
|
||||||
#define TYPHOON_RESET_TIMEOUT_NOSLEEP ((6 * 1000000) / TYPHOON_UDELAY)
|
#define TYPHOON_RESET_TIMEOUT_NOSLEEP ((6 * 1000000) / TYPHOON_UDELAY)
|
||||||
#define TYPHOON_WAIT_TIMEOUT ((1000000 / 2) / 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)
|
#define typhoon_synchronize_irq(x) synchronize_irq(x)
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(NETIF_F_TSO)
|
#if defined(NETIF_F_TSO)
|
||||||
#define skb_tso_size(x) (skb_shinfo(x)->gso_size)
|
#define skb_tso_size(x) (skb_shinfo(x)->gso_size)
|
||||||
|
|
Loading…
Reference in a new issue