summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-06 01:00:05 (GMT)
committerChristoph Hellwig <hch@lst.de>2014-11-24 18:56:40 (GMT)
commit0f121dd85dc2128fe989da9f57dee764284689f6 (patch)
tree40c2d00ef94a0ab475fc90053517f045e9221ab5 /drivers/scsi/scsi_lib.c
parentd7cb71ec3a28e525c4f523ca52d5389407b7aea0 (diff)
downloadlinux-0f121dd85dc2128fe989da9f57dee764284689f6.tar.xz
scsi: don't use scsi_next_command in scsi_reset_provider
scsi_reset_provider already manually runs all queues for the given host, so it doesn't need the scsi_run_queues call from it, and it doesn't need a reference on the device because it's synchronous. So let's just call scsi_put_command directly and avoid the device reference dance to simplify the code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions