IB/hfi1: Delete unused lock
The lock is an unused vestige from qib. Remove it. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
26ea2544dd
commit
f0f98f74c9
@@ -593,8 +593,6 @@ struct hfi1_pportdata {
|
|||||||
struct mutex hls_lock;
|
struct mutex hls_lock;
|
||||||
u32 host_link_state;
|
u32 host_link_state;
|
||||||
|
|
||||||
spinlock_t sdma_alllock ____cacheline_aligned_in_smp;
|
|
||||||
|
|
||||||
u32 lstate; /* logical link state */
|
u32 lstate; /* logical link state */
|
||||||
|
|
||||||
/* these are the "32 bit" regs */
|
/* these are the "32 bit" regs */
|
||||||
|
@@ -507,7 +507,6 @@ void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd,
|
|||||||
INIT_WORK(&ppd->qsfp_info.qsfp_work, qsfp_event);
|
INIT_WORK(&ppd->qsfp_info.qsfp_work, qsfp_event);
|
||||||
|
|
||||||
mutex_init(&ppd->hls_lock);
|
mutex_init(&ppd->hls_lock);
|
||||||
spin_lock_init(&ppd->sdma_alllock);
|
|
||||||
spin_lock_init(&ppd->qsfp_info.qsfp_lock);
|
spin_lock_init(&ppd->qsfp_info.qsfp_lock);
|
||||||
|
|
||||||
ppd->qsfp_info.ppd = ppd;
|
ppd->qsfp_info.ppd = ppd;
|
||||||
|
Reference in New Issue
Block a user