IB/hfi1: Remove reading platform configuration from EFI variable
authorJan Sokolowski <jan.sokolowski@intel.com>
Fri, 9 Jun 2017 22:59:46 +0000 (15:59 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 27 Jun 2017 20:58:13 +0000 (16:58 -0400)
commitf5114440c5491d4737b061c3a77195088bbaca52
treef0e381c65be8835f2ff2b06ad08c0a87959544de
parent9c1a99c3882beb9e88ed41d914e75bab2d593926
IB/hfi1: Remove reading platform configuration from EFI variable

Currently, platform configuration can be read from EFI variable
for discrete cards. It will happen when reading from EPROM fails.
EFI variables should not be queried for platform configuration
in any scenario.

Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/platform.c