IB/hfi1: Remove module presence check outside pre-LNI checks
authorEaswar Hariharan <easwar.hariharan@intel.com>
Tue, 12 Apr 2016 18:25:57 +0000 (11:25 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commit623bba2d92a32572e21758a17718eeec65594f7d
tree277c6bc2b654b333792a8c20df980e053c1ec2e1
parent145dd2b3995830ab4bf14f1dc7d44dc5d2b7cb10
IB/hfi1: Remove module presence check outside pre-LNI checks

The pre-LNI SerDes and channel tuning algorithm already checks for
module presence assertion for the relevant port types. The extraneous
check removed in this patch blocks link up for port types for which
the module presence assertion is not relevant.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/platform.c