[PATCH v5 13/26] net/nfp: refact the mip module

Chaoyong He chaoyong.he at corigine.com
Tue Sep 19 11:54:27 CEST 2023


Remove the unneeded header file include statements.

Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
---
 drivers/net/nfp/nfpcore/nfp_mip.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/nfp/nfpcore/nfp_mip.c b/drivers/net/nfp/nfpcore/nfp_mip.c
index 7f06c24927..d5ada3687a 100644
--- a/drivers/net/nfp/nfpcore/nfp_mip.c
+++ b/drivers/net/nfp/nfpcore/nfp_mip.c
@@ -3,12 +3,11 @@
  * All rights reserved.
  */
 
-#include <stdio.h>
+#include "nfp_mip.h"
+
 #include <rte_byteorder.h>
 
-#include "nfp_cpp.h"
 #include "nfp_logs.h"
-#include "nfp_mip.h"
 #include "nfp_nffw.h"
 
 #define NFP_MIP_SIGNATURE        rte_cpu_to_le_32(0x0050494d)  /* "MIP\0" */
-- 
2.39.1



More information about the dev mailing list