Home
last modified time | relevance | path

Searched hist:df333d058a60a8dc282009a483124983669b4203 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/char/tpm/eventlog/
H A Dtpm1.cdiff df333d058a60a8dc282009a483124983669b4203 Fri Jun 16 19:07:30 CEST 2023 Colin Ian King <colin.i.king@gmail.com> tpm: remove redundant variable len

Variable len is being accumulated but the value is never read. It is
redundant and can be removed. Cleans up clang scan build warning:

drivers/char/tpm/eventlog/tpm1.c:276:2: warning: Value stored to 'len' is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>