aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bridge_loop_avoidance.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2019-03-03 18:02:57 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2019-03-25 10:01:11 +0100
commit0fa4c30d710d7e646688073339312dabc58d89a2 (patch)
tree62adc48c8c76c2bd9e2be981a95bc734f2e8a149 /net/batman-adv/bridge_loop_avoidance.c
parentbatman-adv: Drop documentation about sysfs files (diff)
downloadlinux-dev-0fa4c30d710d7e646688073339312dabc58d89a2.tar.xz
linux-dev-0fa4c30d710d7e646688073339312dabc58d89a2.zip
batman-adv: Make sysfs support optional
The sysfs files will be marked as deprecated in the near future. They are already replaced by the batadv generic netlink family. Add an Kconfig option to disable the sysfs support for users who want to test their tools or want to safe some space. This setting should currently still be enabled by default to keep backward compatible with legacy tools. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bridge_loop_avoidance.c')
-rw-r--r--net/batman-adv/bridge_loop_avoidance.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c
index ee92bbc25058..8d6b7c9c2a7e 100644
--- a/net/batman-adv/bridge_loop_avoidance.c
+++ b/net/batman-adv/bridge_loop_avoidance.c
@@ -47,7 +47,6 @@
#include "netlink.h"
#include "originator.h"
#include "soft-interface.h"
-#include "sysfs.h"
#include "translation-table.h"
static const u8 batadv_announce_mac[4] = {0x43, 0x05, 0x43, 0x05};