From 03d45545776b896f53ab02c91307b9008ac66181 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 23 Oct 2011 17:59:12 +0800 Subject: password: remove not used variable 'second' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- common/password.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common') 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()) { -- cgit v1.2.3