commit | 694a296024d4cd5e637fa679c4c7e4c63a7c24f3 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Aug 02 16:13:16 2019 +0100 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Aug 06 14:00:04 2019 -0700 |
tree | 332730fc86700b264b878a7bdf810ef03e70e540 | |
parent | 7084ed30ae2aba4efb4d3ef72c0e7042644e7637 [diff] |
net/mlx5: remove self-assignment on esw->dev 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@canonical.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>