Message ID | 20230608211200.1247213-3-kuba@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 9b52fd4b630526aa78bde8f9c6217954c71dc6a5 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | tools: ynl-gen: code gen improvements before ethtool | expand |
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>
Remove unnecessary includes. Signed-off-by: Jakub Kicinski <kuba@kernel.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(-)