Re: [PATCH net-next] rxrpc: Remove set but not used variable 'nowj'

From: David Miller
Date: Thu Aug 02 2018 - 13:21:57 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Thu, 02 Aug 2018 09:13:33 +0100

> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> net/rxrpc/proc.c: In function 'rxrpc_call_seq_show':
> net/rxrpc/proc.c:66:29: warning:
> variable 'nowj' set but not used [-Wunused-but-set-variable]
> unsigned long timeout = 0, nowj;
> ^
>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Applied.