]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove set but not used variable 'prev'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 28 May 2020 07:43:59 +0000 (07:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2020 23:59:04 +0000 (16:59 -0700)
commitc8b94efb944d26d126ecd6025cd79aa2b6cc6a5c
treec1b0a55e419b5b157997231cc5172ccdf89ac33a
parent270ed81368d3b71d28b4e50024da425e01e3cb99
tipc: remove set but not used variable 'prev'

Fixes gcc '-Wunused-but-set-variable' warning:

net/tipc/msg.c: In function 'tipc_msg_append':
net/tipc/msg.c:215:24: warning:
 variable 'prev' set but not used [-Wunused-but-set-variable]

commit 1dead9fd4e53 ("tipc: add test for Nagle algorithm effectiveness")
left behind this, remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/msg.c