]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: Remove set but not used variable 'can_ack'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 18 Mar 2020 02:01:57 +0000 (02:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 03:20:36 +0000 (20:20 -0700)
commit3ec068b913583fea486390f2784662bb7d6c14f1
tree7bdf9f8db89d5fcc29ccef9e877829d2f2b03d9b
parent5923de7deff6f54b1eee174372a7cfe837ddbbd8
mptcp: Remove set but not used variable 'can_ack'

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

net/mptcp/options.c: In function 'mptcp_established_options_dss':
net/mptcp/options.c:338:7: warning:
 variable 'can_ack' set but not used [-Wunused-but-set-variable]

commit 99be8fddec8c ("mptcp: drop unneeded checks")
leave behind this unused, remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c