9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2011-10-23 17:59:12 +08:00 committed by Sascha Hauer
parent 82c6ac9e07
commit 03d4554577
1 changed files with 1 additions and 2 deletions

View File

@ -42,13 +42,12 @@ int password(unsigned char *passwd, size_t length, int flags, int timeout)
unsigned char *buf = passwd; unsigned char *buf = passwd;
int pos = 0; int pos = 0;
unsigned char ch; unsigned char ch;
uint64_t start, second; uint64_t start;
if (!passwd) if (!passwd)
return -EINVAL; return -EINVAL;
start = get_time_ns(); start = get_time_ns();
second = start;
do { do {
if (tstc()) { if (tstc()) {