[3/3] compressdef: remove unused function pointer prototype
Checks
Commit Message
This commit removes unused prototype of the function pointer
compressdev_queue_pair_count_t.
Signed-off-by: Artur Trybula <arturx.trybula@intel.com>
---
lib/librte_compressdev/rte_compressdev_pmd.h | 10 ----------
1 file changed, 10 deletions(-)
Comments
> -----Original Message-----
> From: Artur Trybula <arturx.trybula@intel.com>
> Sent: Friday, March 6, 2020 19:17
> To: dev@dpdk.org; pablo.de.lara.guarch@intel.com;
> declan.doherty@intel.com; Ruifeng Wang <Ruifeng.Wang@arm.com>;
> g.singh@nxp.com; ravi1.kumar@amd.com; Akhil.goyal@nxp.com;
> tdu@semihalf.com; anoobj@marvell.com; fiona.trahe@intel.com;
> roy.fan.zhang@intel.com; jianjay.zhou@huawei.com; shallyv@marvell.com;
> arturx.trybula@intel.com
> Subject: [PATCH 3/3] compressdef: remove unused function pointer
> prototype
>
s/compressdef/compressdev
With the minor change:
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
> This commit removes unused prototype of the function pointer
> compressdev_queue_pair_count_t.
>
> Signed-off-by: Artur Trybula <arturx.trybula@intel.com>
> ---
> lib/librte_compressdev/rte_compressdev_pmd.h | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/lib/librte_compressdev/rte_compressdev_pmd.h
> b/lib/librte_compressdev/rte_compressdev_pmd.h
> index c8e017577..d5898a5b7 100644
> --- a/lib/librte_compressdev/rte_compressdev_pmd.h
> +++ b/lib/librte_compressdev/rte_compressdev_pmd.h
> @@ -173,16 +173,6 @@ typedef int
> (*compressdev_queue_pair_setup_t)(struct rte_compressdev *dev,
> typedef int (*compressdev_queue_pair_release_t)(struct rte_compressdev
> *dev,
> uint16_t qp_id);
>
> -/**
> - * Get number of available queue pairs of a device.
> - *
> - * @param dev
> - * Compress device
> - * @return
> - * Returns number of queue pairs on success.
> - */
> -typedef uint32_t (*compressdev_queue_pair_count_t)(struct
> rte_compressdev *dev);
> -
> /**
> * Create driver private stream data.
> *
> --
> 2.17.1
@@ -173,16 +173,6 @@ typedef int (*compressdev_queue_pair_setup_t)(struct rte_compressdev *dev,
typedef int (*compressdev_queue_pair_release_t)(struct rte_compressdev *dev,
uint16_t qp_id);
-/**
- * Get number of available queue pairs of a device.
- *
- * @param dev
- * Compress device
- * @return
- * Returns number of queue pairs on success.
- */
-typedef uint32_t (*compressdev_queue_pair_count_t)(struct rte_compressdev *dev);
-
/**
* Create driver private stream data.
*