scsi: hpsa: Determine device external status earlier
authorDon Brace <don.brace@microsemi.com>
Fri, 9 Sep 2016 21:30:17 +0000 (16:30 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Sep 2016 18:13:37 +0000 (14:13 -0400)
commit86cf7130a58bd2cdd09da72cdadae0dcd5f5db19
treea7760f8ddf8942f98a9e44c252b0d1889bfa0c03
parent08348b1c9b6f78430fecb120fd0c4b8c044d3639
scsi: hpsa: Determine device external status earlier

Currently we are checking for external status before we are determining
if a device is an external device.

Reviewed-by: Scott Benesh <scott.benest@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c