Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 415294ec authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jeff Garzik
Browse files

[PATCH] chelsio: remove unused mutex



This mutex is unused in current (non TOE) code.

Signed-off-by: default avatarStephen <Hemminger&lt;shemminger@osdl.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 1270266c
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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 */
+0 −1
Original line number Original line Diff line number Diff line
@@ -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);