summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2018-04-03 10:32:28 -0500
committerJason Gunthorpe <jgg@mellanox.com>2018-04-03 13:40:39 -0600
commit3e64f8d6f514c31b6856bfb97737232dd4afcccb (patch)
tree229933ecc6a564737e0c53714b3967e588b6c94b /drivers/infiniband
parent41d902cb7c326d711674977763c4b30df87611bc (diff)
downloadblackbird-op-linux-3e64f8d6f514c31b6856bfb97737232dd4afcccb.tar.gz
blackbird-op-linux-3e64f8d6f514c31b6856bfb97737232dd4afcccb.zip
i40iw: Remove pre-production workaround for resource profile 1
Support for resource profile 1 is currenlty deprecated due to a pre-production errata. Remove this workaround as its no longer needed. Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_main.c b/drivers/infiniband/hw/i40iw/i40iw_main.c
index b08862978de8..9cd0d3ef9057 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_main.c
+++ b/drivers/infiniband/hw/i40iw/i40iw_main.c
@@ -1560,8 +1560,6 @@ static enum i40iw_status_code i40iw_setup_init_state(struct i40iw_handler *hdl,
enum i40iw_status_code status;
memcpy(&hdl->ldev, ldev, sizeof(*ldev));
- if (resource_profile == 1)
- resource_profile = 2;
iwdev->mpa_version = mpa_version;
iwdev->resource_profile = (resource_profile < I40IW_HMC_PROFILE_EQUAL) ?
OpenPOWER on IntegriCloud