Re: [PATCH -next] crypto: aegis128 - Fix -Wunused-const-variable warning

From: Herbert Xu
Date: Fri Aug 30 2019 - 04:24:46 EST


On Thu, Aug 22, 2019 at 10:41:38PM +0800, YueHaibing wrote:
> crypto/aegis.h:27:32: warning:
> crypto_aegis_const defined but not used [-Wunused-const-variable=]
>
> crypto_aegis_const is only used in aegis128-core.c,
> just move the definition over there.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> crypto/aegis.h | 11 -----------
> crypto/aegis128-core.c | 11 +++++++++++
> 2 files changed, 11 insertions(+), 11 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt