summaryrefslogtreecommitdiff
path: root/net/batman-adv/translation-table.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2017-02-22 19:16:39 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2017-03-16 23:14:50 +0300
commitc1bacea053fdaa20cbb37287eb33198ddef255bd (patch)
tree0088ad75869ef9f2446ee3f3ef245a4abe353460 /net/batman-adv/translation-table.c
parentb96a89818805d90513ac5516e17ecd9d8c19313a (diff)
downloadlinux-c1bacea053fdaa20cbb37287eb33198ddef255bd.tar.xz
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/translation-table.c')
0 files changed, 0 insertions, 0 deletions