commit | c1bacea053fdaa20cbb37287eb33198ddef255bd | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Wed Feb 22 17:16:39 2017 +0100 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Thu Mar 16 21:14:50 2017 +0100 |
tree | 0088ad75869ef9f2446ee3f3ef245a4abe353460 | |
parent | b96a89818805d90513ac5516e17ecd9d8c19313a [diff] |
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>