summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/hfi.h
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2018-06-04 11:43:46 -0700
committerJason Gunthorpe <jgg@mellanox.com>2018-06-19 11:49:46 -0600
commit32e3d97079ad0d9adb36af2d2d09a806100690e9 (patch)
tree1ade2523e63c16df6ee12dae51dc9daf56498d5a /drivers/infiniband/hw/hfi1/hfi.h
parent40442b30aad0b5a476aef8f9ea91c11d0f9eae2a (diff)
IB/hfi1: Remove rcvhdrsize
The field is based on a constant that can never change. Use the define to assign the register instead. Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.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 b30985a915e1..ba6dd2c3aa6a 100644
--- a/drivers/infiniband/hw/hfi1/hfi.h
+++ b/drivers/infiniband/hw/hfi1/hfi.h
@@ -1136,8 +1136,6 @@ struct hfi1_devdata {
/* these are the "32 bit" regs */
- /* value we put in kr_rcvhdrsize */
- u32 rcvhdrsize;
/* number of receive contexts the chip supports */
u32 chip_rcv_contexts;
/* number of receive array entries */