Re: [PATCH] crypto: axis - hide an unused variable

From: Herbert Xu
Date: Fri Sep 22 2017 - 06:14:59 EST

On Fri, Aug 25, 2017 at 12:19:54AM +0200, Arnd Bergmann wrote:
> Without CONFIG_DEBUG_FS, we get a harmless warning:
> drivers/crypto/axis/artpec6_crypto.c:352:23: error: 'dbgfs_root' defined but not used [-Werror=unused-variable]
> This moves it into the #ifdef that hides the only user.
> Fixes: a21eb94fc4d3 ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Patch applied. Thanks.
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key: