]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
batman-adv: Drop unused net_namespace.h include
authorSven Eckelmann <sven@narfation.org>
Sun, 13 Apr 2025 09:09:03 +0000 (11:09 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 13 Apr 2025 09:11:33 +0000 (11:11 +0200)
Since commit 69c7be1b903f ("rtnetlink: Pack newlink() params into struct"),
.newlink() doesn't use the struct net parameter. A type definition from
net_namespace.h is no longer needed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/mesh-interface.c

index e48b683a033ff0144a060705f5033bff1f264d8f..5bbc366f974d9ad310a323f8d074c7cd663dd2c7 100644 (file)
@@ -36,7 +36,6 @@
 #include <linux/stddef.h>
 #include <linux/string.h>
 #include <linux/types.h>
-#include <net/net_namespace.h>
 #include <net/netlink.h>
 #include <uapi/linux/batadv_packet.h>
 #include <uapi/linux/batman_adv.h>