net/mlx5: fix hash list entry assert
authorSuanming Mou <suanmingm@nvidia.com>
Fri, 6 Nov 2020 03:02:21 +0000 (11:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:25 +0000 (19:43 +0100)
commit3770feb8273fc778b58f8b570a2a81ea63b005c0
tree1a84ec6153de791693236ceec79556a7aef10f52
parent58df16e08cd55cf7aa3de416117f720a4f166035
net/mlx5: fix hash list entry assert

The entry variable assert in the mlx5_hlist_register() function is not
correct. Remove the invalid entry variable.

Fixes: e69a59227db0 ("net/mlx5: support concurrent access for hash list")

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_utils.c