[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZNY2ZRnypLeRsT83@casper.infradead.org>
Date: Fri, 11 Aug 2023 14:23:49 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Peng Zhang <zhangpeng.00@...edance.com>,
Rong Tao <rongtao@...tc.cn>, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] radix tree: remove unused variable
On Fri, Aug 11, 2023 at 03:10:13PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> Recent versions of clang warn about an unused variable, though older
> versions saw the 'slot++' as a use and did not warn:
>
> radix-tree.c:1136:50: error: parameter 'slot' set but not used [-Werror,-Wunused-but-set-parameter]
>
> It's clearly not needed any more, so just remove it.
>
> Fixes: 3a08cd52c37c7 ("radix tree: Remove multiorder support")
Thanks!
Powered by blists - more mailing lists