aio: drop needless assignment in aio_read()
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 14 Mar 2022 15:46:05 +0000 (16:46 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2022 23:43:19 +0000 (19:43 -0400)
commit61e02cdb6ac68a84f1bb95026632d63677f26202
tree6488e7feabab614654c35e585659a4ac8ef4e710
parent124f75f864f38327e3e7e182e6b6da5105e2bade
aio: drop needless assignment in aio_read()

Commit 84c4e1f89fef ("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: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c