net/mlx5: E-Switch, Fix double mutex initialization
authorMax Gurtovoy <maxg@mellanox.com>
Wed, 27 Feb 2019 14:10:16 +0000 (16:10 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 5 Apr 2019 21:10:32 +0000 (14:10 -0700)
commiteda99e11a097fba938880f1304f1d937d2b49f3a
tree3abfbcd79e809d510667b029681fc9fa87ca9d07
parent5d3c537f907036c1f18bd325ffc356e24cde664c
net/mlx5: E-Switch, Fix double mutex initialization

Delete mutex_init call of a lock that's initialized in inner function.

Fixes: eca8cc389535 ("net/mlx5: E-Switch, Refactor offloads flow steering init/cleanup")
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c