Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 61e02cdb authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Al Viro
Browse files

aio: drop needless assignment in aio_read()

Commit 84c4e1f8

 ("aio: simplify - and fix - fget/fput for io_submit()")
refactored aio_read() and some error cases into early return, which made
some intermediate assignment of the return variable needless.

Drop this needless assignment in aio_read().

No functional change. No change in resulting object code.

Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 124f75f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment