Re: [PATCH net-next] mptcp: Remove set but not used variable 'can_ack'

From: David Miller
Date: Sat Mar 21 2020 - 23:21:07 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 18 Mar 2020 02:01:57 +0000

> 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 dc093db5cc05 ("mptcp: drop unneeded checks")
> leave behind this unused, remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied, thanks.