aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorKen Chen <[email protected]>2005-05-01 08:59:15 -0700
committerLinus Torvalds <[email protected]>2005-05-01 08:59:15 -0700
commit212079cf4ee99e492a57b817e796825d423a30bb (patch)
tree58f54e75ec697f89ba12b39614e937bb374a451d /scripts/basic
parentefcd5e3ab089496865571d22443dd3f514dae60c (diff)
[PATCH] aio: remove superfluous kiocb member initialization
This patch removes superfluous kiocb member initialization in the AIO allocation and deallocation path. For example, in really_put_req(), right before kiocb is returned to slab, 5 variables are reset to NULL. The same variables will be initialized at the kiocb allocation time, so why bother reset them knowing that they will be set to valid data at alloc time? Another example: ki_retry is initialized in __aio_get_req, but is initialized again in io_submit_one. Signed-off-by: Ken Chen <[email protected]> Cc: Benjamin LaHaise <[email protected]> Cc: Suparna Bhattacharya <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions