batman-adv: Drop usage of export.h
Sven Eckelmann
maintainerPATCH 1/1 batman-adv: Drop usage of export.h
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 <[email protected]>
--- net/batman-adv/netlink.c | 1 - 1 file changed, 1 deletion(-)
net/batman-adv/netlink.c +0 -1
@@ -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,
Signature · 1 line
Sven Eckelmann <[email protected]>