1
0
Files
linux/drivers/scsi
Christoph Hellwig 0f121dd85d 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>
2014-11-24 19:56:40 +01:00
..
2014-11-10 15:25:29 +01:00
2014-08-26 09:35:54 +02:00
2014-08-08 15:57:29 -07:00
2014-11-12 11:16:11 +01:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:17 -04:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2014-07-17 22:07:37 +02:00
2014-09-26 10:07:27 +02:00
2013-04-09 14:13:27 -04:00
2014-09-30 09:29:55 +02:00
2014-08-08 15:57:29 -07:00
2013-04-09 14:13:15 -04:00
2014-07-17 22:07:35 +02:00
2014-05-28 18:14:16 +02:00
2014-07-25 17:16:55 -04:00
2013-04-09 14:13:17 -04:00
2014-07-25 17:16:55 -04:00
2014-04-10 15:30:35 -07:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-11-12 11:19:14 +01:00
2014-11-12 11:15:57 +01:00
2014-11-12 11:16:11 +01:00
2014-07-17 22:07:39 +02:00
2014-11-12 11:16:11 +01:00
2014-11-12 11:15:57 +01:00
2014-11-12 11:16:12 +01:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:15 -04:00