summaryrefslogtreecommitdiffstats
path: root/tools/net
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-08 23:11:50 +0200
committerJakub Kicinski <kuba@kernel.org>2023-06-09 23:40:31 +0200
commit9b52fd4b630526aa78bde8f9c6217954c71dc6a5 (patch)
tree691fb609dbad33ca3d0cf082ff52638995519c69 /tools/net
parenttools: ynl-gen: cleanup user space header includes (diff)
downloadlinux-9b52fd4b630526aa78bde8f9c6217954c71dc6a5.tar.xz
linux-9b52fd4b630526aa78bde8f9c6217954c71dc6a5.zip
tools: ynl: regen: cleanup user space header includes
Remove unnecessary includes. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net')
-rw-r--r--tools/net/ynl/generated/devlink-user.c4
-rw-r--r--tools/net/ynl/generated/fou-user.c4
-rw-r--r--tools/net/ynl/generated/handshake-user.c4
-rw-r--r--tools/net/ynl/generated/netdev-user.c4
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>