]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] remove a useless get/put_device pair in scsi_requeue_command
authorChristoph Hellwig <hch@infradead.org>
Thu, 20 Feb 2014 22:20:58 +0000 (14:20 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:25 +0000 (10:19 -0700)
commit134997a041f70d4aa5434d2833c8a3cf33697899
tree786d6f355b26ade2bba828da23327021e0404393
parent27e9e0f12acb5a76c72c3eed31ad3336e1970717
[SCSI] remove a useless get/put_device pair in scsi_requeue_command

Avoid a spurious device get/put pair by cleaning up scsi_requeue_command
and folding scsi_unprep_request into it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_lib.c