From 44f28a3a12e40489616cf7da7b61fa5f4ab61d2c Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sat, 12 Jan 2019 00:24:52 -0800 Subject: crypto: digest: Remove unused variable Signed-off-by: Andrey Smirnov Signed-off-by: Sascha Hauer --- crypto/digest.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypto') diff --git a/crypto/digest.c b/crypto/digest.c index b653fbb032..aff6d9876a 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -216,7 +216,6 @@ int digest_file_window(struct digest *d, const char *filename, const unsigned char *sig, ulong start, ulong size) { - ulong len = 0; int fd, now, ret = 0; unsigned char *buf; int flags = 0; @@ -271,7 +270,6 @@ int digest_file_window(struct digest *d, const char *filename, if (ret) goto out_free; size -= now; - len += now; if (!flags) buf += now; -- cgit v1.2.1