summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/hfi.h
diff options
context:
space:
mode:
authorEaswar Hariharan <easwar.hariharan@intel.com>2016-10-17 14:20:04 +0300
committerDoug Ledford <dledford@redhat.com>2016-11-16 00:16:44 +0300
commitf0f98f74c91c68502e97e0d5526aa4e81b40b28a (patch)
treed6aba371905e29a14e9d8a0f8f5f0f93b351c94e /drivers/infiniband/hw/hfi1/hfi.h
parent26ea2544ddbe8855cb251e41ff3641c61655a15f (diff)
downloadlinux-f0f98f74c91c68502e97e0d5526aa4e81b40b28a.tar.xz
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>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/hfi.h')
-rw-r--r--drivers/infiniband/hw/hfi1/hfi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/hfi1/hfi.h b/drivers/infiniband/hw/hfi1/hfi.h
index d906cf08504f..cc87fd4e534b 100644
--- a/drivers/infiniband/hw/hfi1/hfi.h
+++ b/drivers/infiniband/hw/hfi1/hfi.h
@@ -593,8 +593,6 @@ struct hfi1_pportdata {
struct mutex hls_lock;
u32 host_link_state;
- spinlock_t sdma_alllock ____cacheline_aligned_in_smp;
-
u32 lstate; /* logical link state */
/* these are the "32 bit" regs */