Re: [PATCH][V2][net-next] mlxsw: spectrum_router: remove redundantinitialization of pointer br_dev

From: David Miller
Date: Wed May 27 2020 - 14:23:53 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 27 May 2020 09:15:55 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pointer br_dev is being initialized with a value that is never read
> and is being updated with a new value later on. The initialization
> is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.