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>
This commit is contained in:

committed by
Jason Gunthorpe

parent
40442b30aa
commit
32e3d97079
@@ -15216,8 +15216,6 @@ struct hfi1_devdata *hfi1_init_dd(struct pci_dev *pdev,
|
||||
*/
|
||||
aspm_init(dd);
|
||||
|
||||
dd->rcvhdrsize = DEFAULT_RCVHDRSIZE;
|
||||
|
||||
ret = init_pervl_scs(dd);
|
||||
if (ret)
|
||||
goto bail_cleanup;
|
||||
|
Reference in New Issue
Block a user