summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBart Van Assche2019-02-08 22:25:02 +0100
committerMartin K. Petersen2019-02-12 17:13:41 +0100
commit80f82c169b68b2dcd5adfc4625edd93a2ab954cf (patch)
treeccec8510bc625843a4a16544df465fb693bfb644 /include/scsi
parentscsi: uas: Use scsi_[gs]et_resid() where appropriate (diff)
downloadkernel-qcow2-linux-80f82c169b68b2dcd5adfc4625edd93a2ab954cf.tar.gz
kernel-qcow2-linux-80f82c169b68b2dcd5adfc4625edd93a2ab954cf.tar.xz
kernel-qcow2-linux-80f82c169b68b2dcd5adfc4625edd93a2ab954cf.zip
scsi: sd: Remove superfluous residual assignments
Since commit 26e85fcd15f6 ("[SCSI] sd: Permit merged discard requests"; kernel v3.10) sd_done() sets the residual not only for failed special requests but also for special requests that succeeded. Hence remove the code from functions called by sd_init_command() that sets the residual. This patch does not change any functionality. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions