diff options
-rw-r--r-- | drivers/infiniband/hw/nes/nes.c | 7 | ||||
-rw-r--r-- | drivers/infiniband/hw/nes/nes.h | 9 |
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c index b2112f5a422f..b23e22a785ae 100644 --- a/drivers/infiniband/hw/nes/nes.c +++ b/drivers/infiniband/hw/nes/nes.c | |||
@@ -65,7 +65,6 @@ MODULE_LICENSE("Dual BSD/GPL"); | |||
65 | MODULE_VERSION(DRV_VERSION); | 65 | MODULE_VERSION(DRV_VERSION); |
66 | 66 | ||
67 | int max_mtu = 9000; | 67 | int max_mtu = 9000; |
68 | int nics_per_function = 1; | ||
69 | int interrupt_mod_interval = 0; | 68 | int interrupt_mod_interval = 0; |
70 | 69 | ||
71 | 70 | ||
@@ -96,12 +95,6 @@ LIST_HEAD(nes_adapter_list); | |||
96 | LIST_HEAD(nes_dev_list); | 95 | LIST_HEAD(nes_dev_list); |
97 | 96 | ||
98 | atomic_t qps_destroyed; | 97 | atomic_t qps_destroyed; |
99 | atomic_t cqp_reqs_allocated; | ||
100 | atomic_t cqp_reqs_freed; | ||
101 | atomic_t cqp_reqs_dynallocated; | ||
102 | atomic_t cqp_reqs_dynfreed; | ||
103 | atomic_t cqp_reqs_queued; | ||
104 | atomic_t cqp_reqs_redriven; | ||
105 | 98 | ||
106 | static void nes_print_macaddr(struct net_device *netdev); | 99 | static void nes_print_macaddr(struct net_device *netdev); |
107 | static irqreturn_t nes_interrupt(int, void *); | 100 | static irqreturn_t nes_interrupt(int, void *); |
diff --git a/drivers/infiniband/hw/nes/nes.h b/drivers/infiniband/hw/nes/nes.h index a48b288618ec..5498b747233c 100644 --- a/drivers/infiniband/hw/nes/nes.h +++ b/drivers/infiniband/hw/nes/nes.h | |||
@@ -166,7 +166,6 @@ if (!(expr)) { \ | |||
166 | #include "nes_cm.h" | 166 | #include "nes_cm.h" |
167 | 167 | ||
168 | extern int max_mtu; | 168 | extern int max_mtu; |
169 | extern int nics_per_function; | ||
170 | #define max_frame_len (max_mtu+ETH_HLEN) | 169 | #define max_frame_len (max_mtu+ETH_HLEN) |
171 | extern int interrupt_mod_interval; | 170 | extern int interrupt_mod_interval; |
172 | extern int nes_if_count; | 171 | extern int nes_if_count; |
@@ -219,14 +218,6 @@ extern u32 int_mod_cq_depth_16; | |||
219 | extern u32 int_mod_cq_depth_4; | 218 | extern u32 int_mod_cq_depth_4; |
220 | extern u32 int_mod_cq_depth_1; | 219 | extern u32 int_mod_cq_depth_1; |
221 | 220 | ||
222 | extern atomic_t cqp_reqs_allocated; | ||
223 | extern atomic_t cqp_reqs_freed; | ||
224 | extern atomic_t cqp_reqs_dynallocated; | ||
225 | extern atomic_t cqp_reqs_dynfreed; | ||
226 | extern atomic_t cqp_reqs_queued; | ||
227 | extern atomic_t cqp_reqs_redriven; | ||
228 | |||
229 | |||
230 | struct nes_device { | 221 | struct nes_device { |
231 | struct nes_adapter *nesadapter; | 222 | struct nes_adapter *nesadapter; |
232 | void __iomem *regs; | 223 | void __iomem *regs; |