summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_txq.c
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-05-08 11:29:38 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2019-05-24 14:56:36 +0200
commita65c2d6637859fb6ed242e3f74239b05f80443a7 (patch)
treead8d7d45a7debcee239b9875674b9bde5a7bf9dd /drivers/net/mlx5/mlx5_txq.c
parent0bbcfc706a2bf4a4767115b532aecdb83ba9e183 (diff)
downloaddpdk-next-eventdev-a65c2d6637859fb6ed242e3f74239b05f80443a7.zip
dpdk-next-eventdev-a65c2d6637859fb6ed242e3f74239b05f80443a7.tar.gz
dpdk-next-eventdev-a65c2d6637859fb6ed242e3f74239b05f80443a7.tar.xz
net/mlx5: remove unused functions
Functions implemented but never called: mlx5_rxq_ibv_releasable() mlx5_rxq_cleanup() mlx5_txq_ibv_releasable() Function declared but not implemented: rxq_alloc_mprq_buf() This patch removes these functions from code and header file. Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Yongseok Koh <yskoh@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_txq.c')
-rw-r--r--drivers/net/mlx5/mlx5_txq.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index b281c45..50b1f81 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -642,19 +642,6 @@ mlx5_txq_ibv_release(struct mlx5_txq_ibv *txq_ibv)
}
/**
- * Return true if a single reference exists on the object.
- *
- * @param txq_ibv
- * Verbs Tx queue object.
- */
-int
-mlx5_txq_ibv_releasable(struct mlx5_txq_ibv *txq_ibv)
-{
- assert(txq_ibv);
- return (rte_atomic32_read(&txq_ibv->refcnt) == 1);
-}
-
-/**
* Verify the Verbs Tx queue list is empty
*
* @param dev