Re: [PATCH] radix tree: remove unused variable

From: Matthew Wilcox
Date: Fri Aug 11 2023 - 09:24:25 EST


On Fri, Aug 11, 2023 at 03:10:13PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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!