diff options
author | Christoph Hellwig <hch@lst.de> | 2014-05-01 18:51:03 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 14:33:41 +0400 |
commit | bc85dc500f9df9b2eec15077e5046672c46adeaa (patch) | |
tree | 66441e48e4100b1ee9a769a642800eaf77933634 /drivers/scsi/sr.c | |
parent | c682adf3e1176095a665716a0b62fead8f4b8f5c (diff) | |
download | linux-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