Re: [PATCH] aio: drop needless assignment in aio_read()

From: Linus Torvalds
Date: Mon Mar 14 2022 - 14:22:42 EST


On Mon, Mar 14, 2022 at 8:46 AM Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> wrote:
>
> Drop this needless assignment in aio_read().
>
> No functional change. No change in resulting object code.

Ack, that assignment is indeed dead. As such, compilers will remove it
and it doesn't "hurt", but it is pointless and possibly confusing.

> I cc'ed Linus as he is the author of the referred commit, but I expect
> that this clean-up just goes the usual way to Al Viro and then in some
> git pull to Linus.

Sounds good to me.

Linus