summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/password.c3
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()) {