]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
lib:sha1: remove unused constant
authorJeroen Hofstee <jeroen@myspectrum.nl>
Thu, 10 Jul 2014 18:12:45 +0000 (20:12 +0200)
committerTom Rini <trini@ti.com>
Fri, 18 Jul 2014 21:53:23 +0000 (17:53 -0400)
This prevents a clang warning.
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
lib/sha1.c

index 0a5f68864c74cd6c1e6fa59443ae10706e62b0f9..05b17a259a66e9b66d2a6e62222dc5a51340385e 100644 (file)
@@ -389,8 +389,6 @@ void sha1_hmac(const unsigned char *key, int keylen,
        memset (&ctx, 0, sizeof (sha1_context));
 }
 
-static const char _sha1_src[] = "_sha1_src";
-
 #ifdef SELF_TEST
 /*
  * FIPS-180-1 test vectors