[2/3] net/nfp: remove unnecessary include

Message ID 20230206070549.27265-3-chaoyong.he@corigine.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series cleanup the PMD |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Chaoyong He Feb. 6, 2023, 7:05 a.m. UTC
  From: James Hershaw <james.hershaw@corigine.com>

Remove inclusion of rte_string_fns.h as the utility functions provided
are no longer used in the PMD.

Signed-off-by: James Hershaw <james.hershaw@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
---
 drivers/net/nfp/nfp_common.c               | 1 -
 drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 1 -
 drivers/net/nfp/nfpcore/nfp_resource.c     | 2 --
 3 files changed, 4 deletions(-)
  

Patch

diff --git a/drivers/net/nfp/nfp_common.c b/drivers/net/nfp/nfp_common.c
index 7a60add3a6..f97264e9f0 100644
--- a/drivers/net/nfp/nfp_common.c
+++ b/drivers/net/nfp/nfp_common.c
@@ -25,7 +25,6 @@ 
 #include <rte_memzone.h>
 #include <rte_mempool.h>
 #include <rte_version.h>
-#include <rte_string_fns.h>
 #include <rte_alarm.h>
 #include <rte_spinlock.h>
 #include <rte_service_component.h>
diff --git a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
index 8d7eb96da1..e818fcc8e8 100644
--- a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
+++ b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
@@ -31,7 +31,6 @@ 
 #include <sys/stat.h>
 
 #include <ethdev_pci.h>
-#include <rte_string_fns.h>
 
 #include "nfp_cpp.h"
 #include "nfp_logs.h"
diff --git a/drivers/net/nfp/nfpcore/nfp_resource.c b/drivers/net/nfp/nfpcore/nfp_resource.c
index 6a10c9b0a7..fda03a6576 100644
--- a/drivers/net/nfp/nfpcore/nfp_resource.c
+++ b/drivers/net/nfp/nfpcore/nfp_resource.c
@@ -7,8 +7,6 @@ 
 #include <time.h>
 #include <endian.h>
 
-#include <rte_string_fns.h>
-
 #include "nfp_cpp.h"
 #include "nfp_logs.h"
 #include "nfp6000/nfp6000.h"