diff options
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 263b55e36c7a..8e7736987b94 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -89,8 +89,8 @@ MODULE_DEVICE_TABLE(pci, netxen_pci_tbl); | |||
89 | struct workqueue_struct *netxen_workq; | 89 | struct workqueue_struct *netxen_workq; |
90 | static void netxen_watchdog(unsigned long); | 90 | static void netxen_watchdog(unsigned long); |
91 | 91 | ||
92 | static inline void netxen_nic_update_cmd_producer(struct netxen_adapter *adapter, | 92 | static void netxen_nic_update_cmd_producer(struct netxen_adapter *adapter, |
93 | uint32_t crb_producer) | 93 | uint32_t crb_producer) |
94 | { | 94 | { |
95 | switch (adapter->portnum) { | 95 | switch (adapter->portnum) { |
96 | case 0: | 96 | case 0: |
@@ -118,8 +118,8 @@ static inline void netxen_nic_update_cmd_producer(struct netxen_adapter *adapter | |||
118 | } | 118 | } |
119 | } | 119 | } |
120 | 120 | ||
121 | static inline void netxen_nic_update_cmd_consumer(struct netxen_adapter *adapter, | 121 | static void netxen_nic_update_cmd_consumer(struct netxen_adapter *adapter, |
122 | u32 crb_consumer) | 122 | u32 crb_consumer) |
123 | { | 123 | { |
124 | switch (adapter->portnum) { | 124 | switch (adapter->portnum) { |
125 | case 0: | 125 | case 0: |
@@ -148,7 +148,6 @@ static inline void netxen_nic_update_cmd_consumer(struct netxen_adapter *adapter | |||
148 | } | 148 | } |
149 | 149 | ||
150 | #define ADAPTER_LIST_SIZE 12 | 150 | #define ADAPTER_LIST_SIZE 12 |
151 | int netxen_cards_found; | ||
152 | 151 | ||
153 | static void netxen_nic_disable_int(struct netxen_adapter *adapter) | 152 | static void netxen_nic_disable_int(struct netxen_adapter *adapter) |
154 | { | 153 | { |