diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-12-07 05:40:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 17:39:46 +0100 |
commit | b62e8ec2ac580b47c11eb76e8852ac1ec7d617cd (patch) | |
tree | 4fe334645cc47277ddac8be16b16e03b6d9dae66 /Documentation/networking/baycom.txt | |
parent | [PATCH] Kexec / Kdump: Unify elf note code (diff) | |
download | linux-b62e8ec2ac580b47c11eb76e8852ac1ec7d617cd.tar.xz linux-b62e8ec2ac580b47c11eb76e8852ac1ec7d617cd.zip |
[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 <kenneth.w.chen@intel.com>
Acked-by: Zach Brown <zach.brown@oracle.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/networking/baycom.txt')
0 files changed, 0 insertions, 0 deletions