lkml.org 
[lkml]   [2018]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] rxrpc: Remove set but not used variable 'nowj'
From
From: David Howells <dhowells@redhat.com>
Date: Thu, 02 Aug 2018 09:13:33 +0100

> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> 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@huawei.com>
> Signed-off-by: David Howells <dhowells@redhat.com>

Applied.

\
 
 \ /
  Last update: 2018-08-02 19:22    [W:0.041 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site