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

From: Yuehaibing
Date: Wed Jul 03 2019 - 21:23:28 EST


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

Thanks, also I write a wrong patch title.

>
> David
>
> .
>