From: Geert Uytterhoeven Date: Mon, 25 Feb 2008 13:24:31 +0000 (+0100) Subject: [SCSI] ps3rom: Simplify fill_from_dev_buffer() X-Git-Tag: v2.6.26-rc1~1140^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7441a791aeaeac2e1f1f71b485d1372016f9285;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed