scsi: visorhba: sanitze private device data allocation
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:57:20 +0000 (13:57 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:21:12 +0000 (17:21 -0400)
commit7bc4e528d9f6fc4677eb1a4b0ddeb989c50e051d
treed2b623424be201461e78ed340d184c9e18a5a3fd
parent6d415342ad15f7ca6e92b7a67ae49083e313d849
scsi: visorhba: sanitze private device data allocation

There's no need to keep the private data for a device in a separate
list; better to store it in ->hostdata and do away with the additional
list.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/staging/unisys/visorhba/visorhba_main.c