[dpdk-dev] [PATCH 3/3] compressdef: remove unused function pointer prototype

Ruifeng Wang Ruifeng.Wang at arm.com
Mon Mar 9 06:50:45 CET 2020


> -----Original Message-----
> From: Artur Trybula <arturx.trybula at intel.com>
> Sent: Friday, March 6, 2020 19:17
> To: dev at dpdk.org; pablo.de.lara.guarch at intel.com;
> declan.doherty at intel.com; Ruifeng Wang <Ruifeng.Wang at arm.com>;
> g.singh at nxp.com; ravi1.kumar at amd.com; Akhil.goyal at nxp.com;
> tdu at semihalf.com; anoobj at marvell.com; fiona.trahe at intel.com;
> roy.fan.zhang at intel.com; jianjay.zhou at huawei.com; shallyv at marvell.com;
> arturx.trybula at 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 at arm.com>

> This commit removes unused prototype of the function pointer
> compressdev_queue_pair_count_t.
> 
> Signed-off-by: Artur Trybula <arturx.trybula at 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



More information about the dev mailing list