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

Yuehaibing yuehaibing at huawei.com
Thu Jul 4 01:23:15 UTC 2019


On 2019/7/3 21:57, David Howells wrote:
> 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.

Thanks, also I write a wrong patch title.

> 
> David
> 
> .
> 



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