aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/hfi.h
diff options
context:
space:
mode:
authorMitko Haralanov <mitko.haralanov@intel.com>2016-02-03 14:33:31 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:37:51 -0500
commit2780739262e32b9c283b6b04f7899f9803993ebc (patch)
treed1d9b4c3b39358e244ab9b1f03ab6178e374970b /drivers/staging/rdma/hfi1/hfi.h
parentstaging/rdma/hfi1: Remove unused code (diff)
downloadlinux-dev-2780739262e32b9c283b6b04f7899f9803993ebc.tar.xz
linux-dev-2780739262e32b9c283b6b04f7899f9803993ebc.zip
staging/rdma/hfi1: Remove unnecessary duplicated variable
struct hfi1_devdata contained 2 variables which represented the numa node the device is attached to. Remove the duplicated one. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/hfi.h')
-rw-r--r--drivers/staging/rdma/hfi1/hfi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/hfi.h b/drivers/staging/rdma/hfi1/hfi.h
index cb2f90a0033c..897046cd8fa5 100644
--- a/drivers/staging/rdma/hfi1/hfi.h
+++ b/drivers/staging/rdma/hfi1/hfi.h
@@ -1128,7 +1128,6 @@ struct hfi1_devdata {
struct timer_list rcverr_timer;
u32 rcv_ovfl_cnt;
- int assigned_node_id;
wait_queue_head_t event_queue;
/* Save the enabled LCB error bits */