From: Chen, Kenneth W Date: Thu, 7 Dec 2006 04:40:43 +0000 (-0800) Subject: [PATCH] aio: kill pointless ki_nbytes assignment in aio_setup_single_vector X-Git-Tag: v2.6.20-rc1~145^2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b62e8ec2ac580b47c11eb76e8852ac1ec7d617cd;p=pandora-kernel.git [PATCH] aio: kill pointless ki_nbytes assignment in aio_setup_single_vector io_submit_one assigns ki_left = ki_nbytes = iocb->aio_nbytes, then calls down to aio_setup_iocb, then to aio_setup_single_vector. In there, ki_nbytes is reassigned to the same value it got two call stack above it. There is no need to do so. Signed-off-by: Ken Chen Acked-by: Zach Brown Cc: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed