Re: [PATCH][net-next][V2] net/mlx5: remove self-assignment on esw->dev

From: Saeed Mahameed
Date: Tue Aug 06 2019 - 17:01:55 EST


On Fri, 2019-08-02 at 16:13 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> There is a self assignment of esw->dev to itself, clean this up by
> removing it. Also make dev a const pointer.
>
> Addresses-Coverity: ("Self assignment")
> Fixes: 6cedde451399 ("net/mlx5: E-Switch, Verify support QoS element
> type")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
>
> V2: make dev const
>

Applied to mlx5-next.

Thanks,
Saeed.