commit | 40784d72aeeb4d95cf74ea2243223a85193f0e84 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Fri Aug 25 00:19:54 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 22 17:38:19 2017 +0800 |
tree | 38c32b599e0ead7b50cb278ad556a46141f3e127 | |
parent | e117765a117da3ece15689cb8a759d16c415b08c [diff] |
crypto: axis - hide an unused variable 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@arndb.de> Acked-by: Lars Persson <larper@axis.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>