forked from Minki/linux
[PATCH] drivers/net/acenic.c Removal of old code
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com> Cc: Jeff Garzik <jeff@garzik.org> Cc: Jes Sorensen <jes@trained-monkey.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
6432dc1f44
commit
bef363a1e0
@ -163,11 +163,7 @@ MODULE_DEVICE_TABLE(pci, acenic_pci_tbl);
|
||||
#define SET_NETDEV_DEV(net, pdev) do{} while(0)
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE >= 0x2051c
|
||||
#define ace_sync_irq(irq) synchronize_irq(irq)
|
||||
#else
|
||||
#define ace_sync_irq(irq) synchronize_irq()
|
||||
#endif
|
||||
|
||||
#ifndef offset_in_page
|
||||
#define offset_in_page(ptr) ((unsigned long)(ptr) & ~PAGE_MASK)
|
||||
|
Loading…
Reference in New Issue
Block a user