提交 415294ec 编写于 作者: S Stephen Hemminger 提交者: Jeff Garzik

[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: NJeff Garzik <jeff@garzik.org>
上级 1270266c
...@@ -212,7 +212,6 @@ struct adapter { ...@@ -212,7 +212,6 @@ struct adapter {
struct work_struct stats_update_task; struct work_struct stats_update_task;
struct timer_list stats_update_timer; struct timer_list stats_update_timer;
struct semaphore mib_mutex;
spinlock_t tpi_lock; spinlock_t tpi_lock;
spinlock_t work_lock; spinlock_t work_lock;
/* guards async operations */ /* guards async operations */
......
...@@ -1040,7 +1040,6 @@ static int __devinit init_one(struct pci_dev *pdev, ...@@ -1040,7 +1040,6 @@ static int __devinit init_one(struct pci_dev *pdev,
adapter->msg_enable = dflt_msg_enable; adapter->msg_enable = dflt_msg_enable;
adapter->mmio_len = mmio_len; adapter->mmio_len = mmio_len;
init_MUTEX(&adapter->mib_mutex);
spin_lock_init(&adapter->tpi_lock); spin_lock_init(&adapter->tpi_lock);
spin_lock_init(&adapter->work_lock); spin_lock_init(&adapter->work_lock);
spin_lock_init(&adapter->async_lock); spin_lock_init(&adapter->async_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册