scsi: bfa: move bus reset to target reset
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:57:03 +0000 (13:57 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:21:10 +0000 (17:21 -0400)
commit1b7092f35e0928857f5487c62ca9669218f6b1b0
tree149b771fb8cf817e39f72a343c250783832b9230
parentcc199e78460565eeab0399875dbf9da8e2901c42
scsi: bfa: move bus reset to target reset

The bus reset handler is just calling target reset on all targets, which
is exactly what SCSI EH will be doing anyway.  So move the bus reset
function to target reset and drop the loop.

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/bfa/bfad_im.c