hpsa: simplify update scsi devices
authorKevin Barnett <kevin.barnett@pmcs.com>
Wed, 4 Nov 2015 21:51:27 +0000 (15:51 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 17:34:22 +0000 (12:34 -0500)
commit04fa2f44461dd90a00b514cd75ce82f829924826
treedd569e4d79c8b7f6e82e424f447344e0311f9109
parent2a168208a35515b8ca54fbf1a17581ad2a852a3f
hpsa: simplify update scsi devices

remove repeated calculation that checks for physical
or logical devices.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Justin Lindley <justin.lindley@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h