summaryrefslogtreecommitdiffstats
path: root/common/password.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-10-23 17:59:12 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-22 21:04:32 +0100
commit03d45545776b896f53ab02c91307b9008ac66181 (patch)
tree251e5b1020a92fe523227fd64fbfb8ab73e0fba3 /common/password.c
parent82c6ac9e07ed24db07699e66848c91b47285e9f1 (diff)
downloadbarebox-03d45545776b896f53ab02c91307b9008ac66181.tar.gz
password: remove not used variable 'second'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/password.c')
-rw-r--r--common/password.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/password.c b/common/password.c
index ece7704..311f9cb 100644
--- a/common/password.c
+++ b/common/password.c
@@ -42,13 +42,12 @@ int password(unsigned char *passwd, size_t length, int flags, int timeout)
unsigned char *buf = passwd;
int pos = 0;
unsigned char ch;
- uint64_t start, second;
+ uint64_t start;
if (!passwd)
return -EINVAL;
start = get_time_ns();
- second = start;
do {
if (tstc()) {