diff options
author | Sven Eckelmann | 2017-02-22 17:16:39 +0100 |
---|---|---|
committer | Simon Wunderlich | 2017-03-16 21:14:50 +0100 |
commit | c1bacea053fdaa20cbb37287eb33198ddef255bd (patch) | |
tree | 0088ad75869ef9f2446ee3f3ef245a4abe353460 /lib/rational.c | |
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>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions