diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-10-23 17:59:12 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-22 21:04:32 +0100 |
commit | 03d45545776b896f53ab02c91307b9008ac66181 (patch) | |
tree | 251e5b1020a92fe523227fd64fbfb8ab73e0fba3 /common/password.c | |
parent | 82c6ac9e07ed24db07699e66848c91b47285e9f1 (diff) | |
download | barebox-03d45545776b896f53ab02c91307b9008ac66181.tar.gz barebox-03d45545776b896f53ab02c91307b9008ac66181.tar.xz |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/password.c b/common/password.c index ece7704786..311f9cb8a7 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()) { |