drivers: remove unused build variable

Message ID 20221031104445.278004-1-thomas@monjalon.net (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series drivers: remove unused build variable |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-aarch64-unit-testing success Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/github-robot: build fail github build: failed

Commit Message

Thomas Monjalon Oct. 31, 2022, 10:44 a.m. UTC
  The variable fmt_name has been removed from DPDK 21.02-rc1.
Then some drivers were integrated in the same year with this variable.
Of this course it has no effect, so it is cleaned up.

Fixes: 832a4cf1d11d ("compress/mlx5: introduce PMD")
Fixes: a7c86884f150 ("crypto/mlx5: introduce Mellanox crypto driver")
Fixes: 5e7596ba7cb3 ("vdpa/sfc: introduce Xilinx vDPA driver")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 drivers/compress/mlx5/meson.build | 1 -
 drivers/crypto/mlx5/meson.build   | 1 -
 drivers/vdpa/sfc/meson.build      | 1 -
 3 files changed, 3 deletions(-)
  

Comments

Bruce Richardson Nov. 2, 2022, 12:17 p.m. UTC | #1
On Mon, Oct 31, 2022 at 11:44:44AM +0100, Thomas Monjalon wrote:
> The variable fmt_name has been removed from DPDK 21.02-rc1.
> Then some drivers were integrated in the same year with this variable.
> Of this course it has no effect, so it is cleaned up.
> 
> Fixes: 832a4cf1d11d ("compress/mlx5: introduce PMD")
> Fixes: a7c86884f150 ("crypto/mlx5: introduce Mellanox crypto driver")
> Fixes: 5e7596ba7cb3 ("vdpa/sfc: introduce Xilinx vDPA driver")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  
Thomas Monjalon Nov. 22, 2022, 1:02 p.m. UTC | #2
02/11/2022 13:17, Bruce Richardson:
> On Mon, Oct 31, 2022 at 11:44:44AM +0100, Thomas Monjalon wrote:
> > The variable fmt_name has been removed from DPDK 21.02-rc1.
> > Then some drivers were integrated in the same year with this variable.
> > Of this course it has no effect, so it is cleaned up.
> > 
> > Fixes: 832a4cf1d11d ("compress/mlx5: introduce PMD")
> > Fixes: a7c86884f150 ("crypto/mlx5: introduce Mellanox crypto driver")
> > Fixes: 5e7596ba7cb3 ("vdpa/sfc: introduce Xilinx vDPA driver")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied
  

Patch

diff --git a/drivers/compress/mlx5/meson.build b/drivers/compress/mlx5/meson.build
index 49ce3aff46..9e947244ee 100644
--- a/drivers/compress/mlx5/meson.build
+++ b/drivers/compress/mlx5/meson.build
@@ -7,7 +7,6 @@  if not is_linux
     subdir_done()
 endif
 
-fmt_name = 'mlx5_compress'
 deps += ['common_mlx5', 'eal', 'compressdev']
 if not ('mlx5' in common_drivers)
     # avoid referencing undefined variables from common/mlx5
diff --git a/drivers/crypto/mlx5/meson.build b/drivers/crypto/mlx5/meson.build
index 7521c4c671..20ee69636f 100644
--- a/drivers/crypto/mlx5/meson.build
+++ b/drivers/crypto/mlx5/meson.build
@@ -7,7 +7,6 @@  if not (is_linux or is_windows)
     subdir_done()
 endif
 
-fmt_name = 'mlx5_crypto'
 deps += ['common_mlx5', 'eal', 'cryptodev']
 if not ('mlx5' in common_drivers)
     # avoid referencing undefined variables from common/mlx5
diff --git a/drivers/vdpa/sfc/meson.build b/drivers/vdpa/sfc/meson.build
index b55f9cd691..933f3f18f3 100644
--- a/drivers/vdpa/sfc/meson.build
+++ b/drivers/vdpa/sfc/meson.build
@@ -8,7 +8,6 @@  if ((arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and
     reason = 'only supported on x86_64 and aarch64'
 endif
 
-fmt_name = 'sfc_vdpa'
 extra_flags = []
 
 foreach flag: extra_flags