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>
        struct mlx5_hlist_entry *entry;
        uint32_t prev_gen_cnt = 0;
 
-       MLX5_ASSERT(h && entry);
+       MLX5_ASSERT(h);
        /* Use write lock directly for write-most list. */
        if (!h->write_most) {
                prev_gen_cnt = __atomic_load_n(&h->gen_cnt, __ATOMIC_ACQUIRE);