diff options
author | Eli Cohen <eli@mellanox.com> | 2016-04-21 17:33:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-24 14:51:39 -0400 |
commit | 78228cbdeb0aa5c96e2a721e7e0d6953b416b5a3 (patch) | |
tree | dc671c2665796d9b5e8df463a837d27ff4ca6ced | |
parent | cd255efff9baadd654d6160e52d17ae7c568c9d3 (diff) |
net/mlx5_core: Remove static from local variable
The static is not required and breaks re-entrancy if it will be required.
Fixes: 2530236303d9 ("net/mlx5_core: Flow steering tree initialization")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c index 3c7e3e581835..89cce97d46c6 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | |||
@@ -1276,7 +1276,7 @@ struct mlx5_flow_namespace *mlx5_get_flow_namespace(struct mlx5_core_dev *dev, | |||
1276 | { | 1276 | { |
1277 | struct mlx5_flow_root_namespace *root_ns = dev->priv.root_ns; | 1277 | struct mlx5_flow_root_namespace *root_ns = dev->priv.root_ns; |
1278 | int prio; | 1278 | int prio; |
1279 | static struct fs_prio *fs_prio; | 1279 | struct fs_prio *fs_prio; |
1280 | struct mlx5_flow_namespace *ns; | 1280 | struct mlx5_flow_namespace *ns; |
1281 | 1281 | ||
1282 | if (!root_ns) | 1282 | if (!root_ns) |