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

David Howells dhowells at redhat.com
Wed Jul 3 13:57:41 UTC 2019


YueHaibing <yuehaibing at huawei.com> 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



More information about the Linux-security-module-archive mailing list