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

Christoph Hellwig
2021-09-21T06:55:55Z

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.