summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_client.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/gateway_client.c
parent52735a6f0bd2593d681001ded2f7fbbee168a235 (diff)
downloadlinux-stable-0fa4c30d710d7e646688073339312dabc58d89a2.tar.gz
linux-stable-0fa4c30d710d7e646688073339312dabc58d89a2.tar.bz2
linux-stable-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/gateway_client.c')
-rw-r--r--net/batman-adv/gateway_client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c
index be63d6706659..47df4c678988 100644
--- a/net/batman-adv/gateway_client.c
+++ b/net/batman-adv/gateway_client.c
@@ -41,7 +41,6 @@
#include "originator.h"
#include "routing.h"
#include "soft-interface.h"
-#include "sysfs.h"
#include "translation-table.h"
/* These are the offsets of the "hw type" and "hw address length" in the dhcp