diff options
author | Jitendra Bhivare | 2016-02-04 11:19:09 +0100 |
---|---|---|
committer | Martin K. Petersen | 2016-02-24 03:27:02 +0100 |
commit | 9c890a79689cbce29296d12d925a690b35b0539b (patch) | |
tree | a7c118cdc2b3628cba30c5540792ffc51f8cc371 /drivers/scsi/be2iscsi/be_main.c | |
parent | bfa: use strncpy() instead of memcpy() (diff) | |
download | kernel-qcow2-linux-9c890a79689cbce29296d12d925a690b35b0539b.tar.gz kernel-qcow2-linux-9c890a79689cbce29296d12d925a690b35b0539b.tar.xz kernel-qcow2-linux-9c890a79689cbce29296d12d925a690b35b0539b.zip |
be2iscsi: Remove unused mcc_cq_lock
mcc_cq_lock spin_lock is used only in beiscsi_process_mcc which is
called only when all interrupts are disabled from mgmt_epfw_cleanup
during unloading of driver. There is no other context where there can be
contention for the processing of CQ.
Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 70179e122b86..314fd2c09435 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -730,7 +730,6 @@ static int be_ctrl_init(struct beiscsi_hba *phba, struct pci_dev *pdev) memset(mbox_mem_align->va, 0, sizeof(struct be_mcc_mailbox)); mutex_init(&ctrl->mbox_lock); spin_lock_init(&phba->ctrl.mcc_lock); - spin_lock_init(&phba->ctrl.mcc_cq_lock); return status; } |