b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] batman-adv: Drop usage of export.h
@ 2024-01-22 13:10 Sven Eckelmann
  0 siblings, 0 replies; only message in thread
From: Sven Eckelmann @ 2024-01-22 13:10 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Sven Eckelmann

The linux/export.h include was introduced in commit f6977d91a992
("batman-adv: Introduce missing headers for genetlink restructure") to have
access to THIS_MODULE. But with commit 5b20755b7780 ("init: move
THIS_MODULE from <linux/export.h> to <linux/init.h>"), it was moved and the
include for export.h is no longer needed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
 net/batman-adv/netlink.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c
index cda99753..6aff7cc1 100644
--- a/net/batman-adv/netlink.c
+++ b/net/batman-adv/netlink.c
@@ -15,7 +15,6 @@
 #include <linux/cache.h>
 #include <linux/err.h>
 #include <linux/errno.h>
-#include <linux/export.h>
 #include <linux/genetlink.h>
 #include <linux/gfp.h>
 #include <linux/if_ether.h>

base-commit: ecdc425a87d40eba44c9c094293d50d3e9a38b45
change-id: 20240122-no-export-header-0293ee4ccd11

Best regards,
Sven Eckelmann <sven@narfation.org>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-22 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22 13:10 [PATCH] batman-adv: Drop usage of export.h Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).