projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: Simplify a test
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
mellanox
/
mlx5
/
core
/
fs_core.c
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
index
8969604
..
914e546
100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
@@
-1690,7
+1690,7
@@
static int init_root_ns(struct mlx5_flow_steering *steering)
{
steering->root_ns = create_root_ns(steering, FS_FT_NIC_RX);
- if (
IS_ERR_OR_NULL(steering->root_ns)
)
+ if (
!steering->root_ns
)
goto cleanup;
if (init_root_tree(steering, &root_fs, &steering->root_ns->ns.node))