summaryrefslogtreecommitdiff
path: root/drivers/net/mlx4/en_selftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4/en_selftest.c')
-rw-r--r--drivers/net/mlx4/en_selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/en_selftest.c b/drivers/net/mlx4/en_selftest.c
index 43357d35616a..9c91a92da705 100644
--- a/drivers/net/mlx4/en_selftest.c
+++ b/drivers/net/mlx4/en_selftest.c
@@ -107,7 +107,7 @@ static int mlx4_en_test_loopback(struct mlx4_en_priv *priv)
mlx4_en_test_loopback_exit:
priv->validate_loopback = 0;
- return (!loopback_ok);
+ return !loopback_ok;
}