Re: [PATCH] [RFC] io_uring: warning about unused-but-set parameter

From: Christoph Hellwig
Date: Tue Sep 21 2021 - 02:55:55 EST


On Mon, Sep 20, 2021 at 02:48:23PM +0200, Arnd Bergmann wrote:
> complete madness of crouse, only -Wunused-but-set-parameter,
> which is already part of W=1 and has the potential of catching
> actual bugs such as

Well, i you care about that just remove the

locked = NULL;

which is pretty weird anyway.