On Thu, Feb 04, 2021 at 05:03:44PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann
>
> When debugging is disabled, the ASSERT() is left out and
> the 'log' variable becomes unused:
>
> fs/xfs/xfs_log.c::16: error: unused variable 'log'
> [-Werror,-Wunused-variable]
>
> Remove the variabl
From: Arnd Bergmann
When debugging is disabled, the ASSERT() is left out and
the 'log' variable becomes unused:
fs/xfs/xfs_log.c::16: error: unused variable 'log'
[-Werror,-Wunused-variable]
Remove the variable declaration and open-code it inside
of the assertion.
Fixes: 303591a0a947 ("xf
2 matches
Mail list logo