[3/3] compressdef: remove unused function pointer prototype

Message ID 20200306111635.489-3-arturx.trybula@intel.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series [1/3] drivers/crypto: remove unused element from device operations |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/travis-robot success Travis build: passed
ci/Intel-compilation success Compilation OK

Commit Message

Artur Trybula March 6, 2020, 11:16 a.m. UTC
  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

Ruifeng Wang March 9, 2020, 5:50 a.m. UTC | #1
> -----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
  

Patch

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.
  *