[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230608211200.1247213-3-kuba@kernel.org>
Date: Thu, 8 Jun 2023 14:11:50 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 02/12] tools: ynl: regen: cleanup user space header includes
Remove unnecessary includes.
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
tools/net/ynl/generated/devlink-user.c | 4 +---
tools/net/ynl/generated/fou-user.c | 4 +---
tools/net/ynl/generated/handshake-user.c | 4 +---
tools/net/ynl/generated/netdev-user.c | 4 +---
4 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/tools/net/ynl/generated/devlink-user.c b/tools/net/ynl/generated/devlink-user.c
index c3204e20b971..4604b6829fd0 100644
--- a/tools/net/ynl/generated/devlink-user.c
+++ b/tools/net/ynl/generated/devlink-user.c
@@ -4,13 +4,11 @@
/* YNL-GEN user source */
#include <stdlib.h>
+#include <string.h>
#include "devlink-user.h"
#include "ynl.h"
#include <linux/devlink.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include <libmnl/libmnl.h>
#include <linux/genetlink.h>
diff --git a/tools/net/ynl/generated/fou-user.c b/tools/net/ynl/generated/fou-user.c
index c08c85a6b6c4..23c8f347547e 100644
--- a/tools/net/ynl/generated/fou-user.c
+++ b/tools/net/ynl/generated/fou-user.c
@@ -4,13 +4,11 @@
/* YNL-GEN user source */
#include <stdlib.h>
+#include <string.h>
#include "fou-user.h"
#include "ynl.h"
#include <linux/fou.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include <libmnl/libmnl.h>
#include <linux/genetlink.h>
diff --git a/tools/net/ynl/generated/handshake-user.c b/tools/net/ynl/generated/handshake-user.c
index 72eb1c52a8fc..7c204bf4c7cb 100644
--- a/tools/net/ynl/generated/handshake-user.c
+++ b/tools/net/ynl/generated/handshake-user.c
@@ -4,13 +4,11 @@
/* YNL-GEN user source */
#include <stdlib.h>
+#include <string.h>
#include "handshake-user.h"
#include "ynl.h"
#include <linux/handshake.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include <libmnl/libmnl.h>
#include <linux/genetlink.h>
diff --git a/tools/net/ynl/generated/netdev-user.c b/tools/net/ynl/generated/netdev-user.c
index 3db6921b9fab..fe0da71f653c 100644
--- a/tools/net/ynl/generated/netdev-user.c
+++ b/tools/net/ynl/generated/netdev-user.c
@@ -4,13 +4,11 @@
/* YNL-GEN user source */
#include <stdlib.h>
+#include <string.h>
#include "netdev-user.h"
#include "ynl.h"
#include <linux/netdev.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include <libmnl/libmnl.h>
#include <linux/genetlink.h>
--
2.40.1
Powered by blists - more mailing lists