scsi: iscsi: Use EFI GetVariable only when available
authorArd Biesheuvel <ardb@kernel.org>
Thu, 23 Jan 2020 08:17:48 +0000 (09:17 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit69f4cab134d204f0260d69ae407a2562e56a5025
tree4694208c3758bed42cc037d1b9ccb01ec3cac8fd
parentd79b348c3540611552fc5fb87565228925fb1fd8
scsi: iscsi: Use EFI GetVariable only when available

Replace the EFI runtime services check with one that tells us whether
EFI GetVariable() is implemented by the firmware.

Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/scsi/isci/init.c