Re: [PATCH net-next] net: bridge: remove unneeded variable 'err'

From: David Miller
Date: Tue Dec 18 2018 - 18:50:46 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Mon, 17 Dec 2018 17:46:23 +0800

> function br_multicast_toggle now always return 0,
> so the variable 'err' is unneeded.
> Also cleanup dead branch in br_changelink.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.