scsi: scsi_lib: rework scsi_internal_device_unblock_nowait()
authorHannes Reinecke <hare@suse.de>
Fri, 11 Aug 2017 06:53:46 +0000 (08:53 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:28:53 +0000 (22:28 -0400)
commit8cd1ec78ca15f1016f6c3c683c21b3383b5cb966
tree788fdf9ddc41aa2bd9278dc204798849bcf2f681
parentfe083323bb7ee56b69dacdd2e5d8469be95a8f12
scsi: scsi_lib: rework scsi_internal_device_unblock_nowait()

Rework scsi_internal_device_unblock_nowait() into using a switch
statement. No functional changes.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c