aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-12-01 19:36:15 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-02 00:24:49 -0500
commit415294ecbb32ddbd0a7a2b7bae0b60fedfa09cc4 (patch)
tree63ffe69705078a0ac11e3740488cd5af2159f1eb /drivers
parent1270266cf94c0de5bd1121f15aff9af8556dee84 (diff)
[PATCH] chelsio: remove unused mutex
This mutex is unused in current (non TOE) code. Signed-off-by: Stephen Hemminger<shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/chelsio/common.h1
-rw-r--r--drivers/net/chelsio/cxgb2.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/chelsio/common.h b/drivers/net/chelsio/common.h
index 5d9dd14427c5..efe1f6685285 100644
--- a/drivers/net/chelsio/common.h
+++ b/drivers/net/chelsio/common.h
@@ -212,7 +212,6 @@ struct adapter {
212 struct work_struct stats_update_task; 212 struct work_struct stats_update_task;
213 struct timer_list stats_update_timer; 213 struct timer_list stats_update_timer;
214 214
215 struct semaphore mib_mutex;
216 spinlock_t tpi_lock; 215 spinlock_t tpi_lock;
217 spinlock_t work_lock; 216 spinlock_t work_lock;
218 /* guards async operations */ 217 /* guards async operations */
diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c
index 1d78d5d4b1a7..42ad9cfd670a 100644
--- a/drivers/net/chelsio/cxgb2.c
+++ b/drivers/net/chelsio/cxgb2.c
@@ -1040,7 +1040,6 @@ static int __devinit init_one(struct pci_dev *pdev,
1040 adapter->msg_enable = dflt_msg_enable; 1040 adapter->msg_enable = dflt_msg_enable;
1041 adapter->mmio_len = mmio_len; 1041 adapter->mmio_len = mmio_len;
1042 1042
1043 init_MUTEX(&adapter->mib_mutex);
1044 spin_lock_init(&adapter->tpi_lock); 1043 spin_lock_init(&adapter->tpi_lock);
1045 spin_lock_init(&adapter->work_lock); 1044 spin_lock_init(&adapter->work_lock);
1046 spin_lock_init(&adapter->async_lock); 1045 spin_lock_init(&adapter->async_lock);