This code was only used in the past for the sysfs interface. But since
this was replace with netlink, it was never executed. The function pointer
was only checked to figure out whether the limit 255 (B.A.T.M.A.N. IV) or
2**32-1 (B.A.T.M.A.N. V) should be used as limit.
So instead of keeping the
The batadv_netlink_notify_*() functions are not used by any other source
file. Just keep them local to netlink.c to get informed by the compiler
when they are not used anymore.
Signed-off-by: Sven Eckelmann
---
net/batman-adv/netlink.c | 10 +-
net/batman-adv/netlink.h | 6 --
2
This function is no longer used since the sysfs support was removed from
batman-adv.
Signed-off-by: Sven Eckelmann
---
net/batman-adv/gateway_common.c | 88 -
net/batman-adv/gateway_common.h | 2 -
2 files changed, 90 deletions(-)
diff --git
+---
net/batman-adv/gateway_common.h | 7 --
net/batman-adv/netlink.c| 15 ++--
net/batman-adv/netlink.h| 6 --
net/batman-adv/types.h | 7 +-
7 files changed, 13 insertions(+), 208 deletions(-)
---
base-commit: ed12d0c16556942c4fd52af122030182c11e60ef
change-id: 20230802