[PATCH 1/1] password: remove not used variable 'second'
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Nov 22 02:52:35 EST 2011
On 17:59 Sun 23 Oct , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
ping
Best Regards,
J.
> common/password.c | 3 +--
> 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()) {
> --
> 1.7.7
More information about the barebox
mailing list