diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-08-01 17:52:34 +0800 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-08-01 13:28:23 +0100 |
commit | f597a5792ada511e3c69ecf7201fc178c574d822 (patch) | |
tree | 60bc5c7e8754ffc0a419817e778252d978f50076 /net/rxrpc/proc.c | |
parent | e6476c21447c4b17c47e476aade6facf050f31e8 (diff) | |
download | linux-f597a5792ada511e3c69ecf7201fc178c574d822.tar.gz linux-f597a5792ada511e3c69ecf7201fc178c574d822.tar.bz2 linux-f597a5792ada511e3c69ecf7201fc178c574d822.zip |
rxrpc: remove redundant variables 'sp' and 'did_discard'
Variables 'sp' and 'did_discard' are being assigned,
but are never used, hence they are redundant and can be removed.
fix following warning:
net/rxrpc/call_event.c:165:25: warning: variable 'sp' set but not used [-Wunused-but-set-variable]
net/rxrpc/conn_client.c:1054:7: warning: variable 'did_discard' set but not used [-Wunused-but-set-variable]
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/proc.c')
0 files changed, 0 insertions, 0 deletions