Re: [PATCH -next] integrity: Remove set but not used variable 'acl'

From: David Howells
Date: Wed Jul 03 2019 - 09:57:56 EST


YueHaibing <yuehaibing@xxxxxxxxxx> wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> security/integrity/digsig.c: In function 'integrity_init_keyring':
> security/integrity/digsig.c:99:18: warning:
> variable 'acl' set but not used [-Wunused-but-set-variable]
>
> It seems 'acl' is needed in __integrity_init_keyring

I've folded this fix in, thanks.

David