diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-01-12 00:24:52 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-16 08:33:34 +0100 |
commit | 44f28a3a12e40489616cf7da7b61fa5f4ab61d2c (patch) | |
tree | e25cde68e5bcfda4d76ccccccdaea0e1bb69be08 /crypto | |
parent | 246216c24eb60d2742aec18fa875c40a905ed223 (diff) | |
download | barebox-44f28a3a12e40489616cf7da7b61fa5f4ab61d2c.tar.gz |
crypto: digest: Remove unused variable
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/digest.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |