aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2008-02-25 14:24:31 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 12:15:41 -0500
commitf7441a791aeaeac2e1f1f71b485d1372016f9285 (patch)
tree25d5b16e6c9f587d0f841794f382ba6a4dc6cd90 /drivers/scsi/scsi_error.c
parentd1e4c9c57c2ed4722795443db22a5d813cd4f0e5 (diff)
downloadkernel_samsung_smdk4412-f7441a791aeaeac2e1f1f71b485d1372016f9285.zip
kernel_samsung_smdk4412-f7441a791aeaeac2e1f1f71b485d1372016f9285.tar.gz
kernel_samsung_smdk4412-f7441a791aeaeac2e1f1f71b485d1372016f9285.tar.bz2
[SCSI] ps3rom: Simplify fill_from_dev_buffer()
As we no longer need to calculate the data length of the whole scatterlist, we can abort the loop earlier and coalesce req_len and act_len into one variable, making fill_from_dev_buffer() more similar to fetch_to_dev_buffer(). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions