Thread (3 messages) 3 messages, 2 authors, 2019-10-29

Re: [PATCH] KEYS: trusted: Remove set but not used variable 'keyhndl'

From: Jarkko Sakkinen <hidden>
Date: 2019-10-29 14:18:52
Also in: keyrings

On Tue, Oct 29, 2019 at 04:16:37PM +0200, Jarkko Sakkinen wrote:
On Tue, Oct 29, 2019 at 05:33:32PM +0800, zhengbin wrote:
quoted
Fixes gcc '-Wunused-but-set-variable' warning:

security/keys/trusted-keys/trusted_tpm1.c: In function tpm_unseal:
security/keys/trusted-keys/trusted_tpm1.c:588:11: warning: variable keyhndl set but not used [-Wunused-but-set-variable]

It is introduced by commit 00aa975bd031 ("KEYS: trusted:
Create trusted keys subsystem"), but never used, so remove it.

Reported-by: Hulk Robot <redacted>
Signed-off-by: zhengbin <redacted>
Reviewed-by: Jarkko Sakkinen <redacted>

I'll pick this to my tree.
Please use fixes tag next time instead of ad hoc.

Anyway, applied, thanks.

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help