]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Simplify a test
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2016 07:10:53 +0000 (08:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 16:16:40 +0000 (12:16 -0400)
commit46cb9dd05afaaa3139acd62c6eb7d495ed755522
treea314a0a7dc3c60778d915c07f51f2f9077a67c03
parentcc940dfa23fdb35a1d4d1bccca3ba1fb2b6f8d5a
net/mlx5: Simplify a test

'create_root_ns()' does not return an error pointer, so the test can be
simplified to be more consistent.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c