aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen, Kenneth W <[email protected]>2006-12-06 20:40:43 -0800
committerLinus Torvalds <[email protected]>2006-12-07 08:39:46 -0800
commitb62e8ec2ac580b47c11eb76e8852ac1ec7d617cd (patch)
tree4fe334645cc47277ddac8be16b16e03b6d9dae66 /include
parent85916f8166b59eeac63d2b4f7f1df8de849334b4 (diff)
[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 <[email protected]> Acked-by: Zach Brown <[email protected]> Cc: Benjamin LaHaise <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions