DPDK patches and discussions
 help / color / mirror / Atom feed
From: Chaoyong He <chaoyong.he@corigine.com>
To: dev@dpdk.org
Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com,
	James Hershaw <james.hershaw@corigine.com>,
	Chaoyong He <chaoyong.he@corigine.com>
Subject: [PATCH 2/3] net/nfp: remove unnecessary include
Date: Mon,  6 Feb 2023 15:05:48 +0800	[thread overview]
Message-ID: <20230206070549.27265-3-chaoyong.he@corigine.com> (raw)
In-Reply-To: <20230206070549.27265-1-chaoyong.he@corigine.com>

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(-)

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"
-- 
2.29.3


  parent reply	other threads:[~2023-02-06  7:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06  7:05 [PATCH 0/3] cleanup the PMD Chaoyong He
2023-02-06  7:05 ` [PATCH 1/3] net/nfp: remove usage of print statements Chaoyong He
2023-02-06  7:05 ` Chaoyong He [this message]
2023-02-06  7:05 ` [PATCH 3/3] net/nfp: explicitly compare to null and 0 Chaoyong He
2023-02-06 16:28 ` [PATCH 0/3] cleanup the PMD Stephen Hemminger
2023-02-07  2:17   ` Chaoyong He
2023-02-08  1:56     ` Ferruh Yigit
2023-02-08  1:55 ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230206070549.27265-3-chaoyong.he@corigine.com \
    --to=chaoyong.he@corigine.com \
    --cc=dev@dpdk.org \
    --cc=james.hershaw@corigine.com \
    --cc=niklas.soderlund@corigine.com \
    --cc=oss-drivers@corigine.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).