]> git.ipfire.org Git - people/ms/linux.git/commit
IB/hfi1: Remove rcvhdrsize
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Mon, 4 Jun 2018 18:43:46 +0000 (11:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Jun 2018 17:49:46 +0000 (11:49 -0600)
commit32e3d97079ad0d9adb36af2d2d09a806100690e9
tree1ade2523e63c16df6ee12dae51dc9daf56498d5a
parent40442b30aad0b5a476aef8f9ea91c11d0f9eae2a
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>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/init.c