summaryrefslogtreecommitdiff
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-05-01 18:51:03 +0400
committerChristoph Hellwig <hch@lst.de>2014-05-19 14:33:41 +0400
commitbc85dc500f9df9b2eec15077e5046672c46adeaa (patch)
tree66441e48e4100b1ee9a769a642800eaf77933634 /drivers/scsi/sr.c
parentc682adf3e1176095a665716a0b62fead8f4b8f5c (diff)
downloadlinux-bc85dc500f9df9b2eec15077e5046672c46adeaa.tar.xz
scsi: remove scsi_end_request
By folding scsi_end_request into its only caller we can significantly clean up the completion logic. We can use simple goto labels now to only have a single place to finish or requeue command there instead of the previous convoluted logic. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions