net/mlx5: remove unused variable in Tx queue creation
authorMichael Baum <michaelba@nvidia.com>
Thu, 1 Oct 2020 14:09:13 +0000 (14:09 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Oct 2020 11:17:42 +0000 (13:17 +0200)
commitfa2dd3d4d6e24bf2956828bf05de86e6e6d88c3e
tree389ab92ea5f2fc651fec9b7be1af77392d0503e3
parent95b0e40b10d9e88f568b082140bf032cffeec9d9
net/mlx5: remove unused variable in Tx queue creation

When a CQ is not created by DevX, it be allocated by either DV function
or by regular Verbs function.

The CQ DV attributes variable was wrongly defined and initialized in Tx
queue creation while the CQ is created by the regular Verbs function
what remained the attributes variable unused.

Remove the unused variable.

Fixes: faf2667fe8d5 ("net/mlx5: separate DPDK from verbs Tx queue objects")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_txq.c