diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:08 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:08 -0400 |
commit | d23b9d8ff2fcadc6f2fba83f654a122b9e16f02c (patch) | |
tree | d8a927263c15496acb935df20162ff6584a1eb63 /drivers/infiniband/hw/nes/nes.c | |
parent | b30db1c186635c72683324ddfd10a387ce449075 (diff) |
RDMA/nes: Delete unused variables
None of the cqp_reqs_XXX counters were ever used anywhere, and neither
was the nics_per_function variable.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes.c | 7 |
1 files changed, 0 insertions, 7 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 *); |