From: Christoph Hellwig Date: Sat, 6 Sep 2014 01:00:05 +0000 (-0700) Subject: scsi: don't use scsi_next_command in scsi_reset_provider X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~21^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f121dd85dc2128fe989da9f57dee764284689f6;p=pandora-kernel.git 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 Reviewed-by: Bart Van Assche Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed