]> git.droids-corp.org - dpdk.git/commit
net/mlx5: remove declaration duplications
authorMichael Baum <michaelba@nvidia.com>
Mon, 14 Feb 2022 09:34:56 +0000 (11:34 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 21 Feb 2022 10:36:41 +0000 (11:36 +0100)
commitdec50e58f76cf53d84f512f29c1454b6ced4a41c
tree9f2c88af0d7dc89be639ab6b24af961b8b3bbee6
parent6be4c57add872cfd5f430977a1be2701a951ef90
net/mlx5: remove declaration duplications

In mlx5_ethdev.c file are implemented those 4 functions:
 - mlx5_dev_infos_get
 - mlx5_fw_version_get
 - mlx5_dev_set_mtu
 - mlx5_hairpin_cap_get

In mlx5.h file they are declared twice. First time under mlx5.c file and
second time under mlx5_ethdev.c file.

This patch removes the redundant declaration.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5.h