diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-19 15:27:07 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-19 15:27:07 -0400 |
commit | f8ec473387f70d103c83ffb3ab50cb2b1380d0c0 (patch) | |
tree | 8abcae6e3e7c4692519196c26dac4a82e65753b4 /drivers/net/ixgb/ixgb_osdep.h | |
parent | 23b6b0e3e8306ce3d00e0c87196bfaad335b9096 (diff) |
e1000, ixgb: Remove pointless wrappers
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgb/ixgb_osdep.h')
-rw-r--r-- | drivers/net/ixgb/ixgb_osdep.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ixgb/ixgb_osdep.h b/drivers/net/ixgb/ixgb_osdep.h index ee982feac64d..19cb1d586dec 100644 --- a/drivers/net/ixgb/ixgb_osdep.h +++ b/drivers/net/ixgb/ixgb_osdep.h | |||
@@ -40,18 +40,6 @@ | |||
40 | #include <linux/interrupt.h> | 40 | #include <linux/interrupt.h> |
41 | #include <linux/sched.h> | 41 | #include <linux/sched.h> |
42 | 42 | ||
43 | #ifndef msec_delay | ||
44 | #define msec_delay(x) do { if(in_interrupt()) { \ | ||
45 | /* Don't mdelay in interrupt context! */ \ | ||
46 | BUG(); \ | ||
47 | } else { \ | ||
48 | msleep(x); \ | ||
49 | } } while(0) | ||
50 | #endif | ||
51 | |||
52 | #define PCI_COMMAND_REGISTER PCI_COMMAND | ||
53 | #define CMD_MEM_WRT_INVALIDATE PCI_COMMAND_INVALIDATE | ||
54 | |||
55 | typedef enum { | 43 | typedef enum { |
56 | #undef FALSE | 44 | #undef FALSE |
57 | FALSE = 0, | 45 | FALSE = 0, |