summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/netlink.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2017-02-22 17:16:39 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2017-03-16 21:14:50 +0100
commitc1bacea053fdaa20cbb37287eb33198ddef255bd (patch)
tree0088ad75869ef9f2446ee3f3ef245a4abe353460 /net/batman-adv/netlink.c
parentb96a89818805d90513ac5516e17ecd9d8c19313a (diff)
downloadlinux-c1bacea053fdaa20cbb37287eb33198ddef255bd.tar.bz2
batman-adv: Reduce preprocessor checks in multicast.c
It is not necessary to disable these code sections in case other kernel features are disabled. Instead the IS_ENABLED tests can be added directly in the code and the compiler can remove the unnecessary code parts during its optimization run. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/netlink.c')
0 files changed, 0 insertions, 0 deletions