aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-06-09 11:13:09 -0400
committerSven Eckelmann <sven@narfation.org>2011-06-09 14:40:38 -0400
commitecbd532108cb21d9d3770f73e168bad65d14d9eb (patch)
tree2755df4a468d6d146e20bed8306e8c76c74f1ce9 /net/batman-adv/main.h
parente8958dbf0da377e11f385a9888da3f72e827ab26 (diff)
batman-adv: use NO_FLAGS define instead of hard-coding 0
The definition NO_FLAGS was introduced to make the code more readable and shall be used to initialize flag fields. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 27ad734511a9..ed488cbae80f 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -51,6 +51,8 @@
51#define TQ_LOCAL_BIDRECT_RECV_MINIMUM 1 51#define TQ_LOCAL_BIDRECT_RECV_MINIMUM 1
52#define TQ_TOTAL_BIDRECT_LIMIT 1 52#define TQ_TOTAL_BIDRECT_LIMIT 1
53 53
54#define NO_FLAGS 0
55
54#define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE) 56#define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE)
55 57
56#define LOG_BUF_LEN 8192 /* has to be a power of 2 */ 58#define LOG_BUF_LEN 8192 /* has to be a power of 2 */