aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2011-01-27 07:12:04 -0500
committerSven Eckelmann <sven@narfation.org>2011-01-31 08:57:10 -0500
commit335f94c981248e9f326986e0ac8d31f187ffeed0 (patch)
tree3351430bfd0c99b55d362a5c22543a4742161e67 /net/batman-adv/main.h
parent633979b43f23d776f6fb757f0f3d6d8089ab57b1 (diff)
batman-adv: Remove unused definitions
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 65106fb61b8f..c1ace85db36f 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -22,9 +22,6 @@
22#ifndef _NET_BATMAN_ADV_MAIN_H_ 22#ifndef _NET_BATMAN_ADV_MAIN_H_
23#define _NET_BATMAN_ADV_MAIN_H_ 23#define _NET_BATMAN_ADV_MAIN_H_
24 24
25/* Kernel Programming */
26#define LINUX
27
28#define DRIVER_AUTHOR "Marek Lindner <lindner_marek@yahoo.de>, " \ 25#define DRIVER_AUTHOR "Marek Lindner <lindner_marek@yahoo.de>, " \
29 "Simon Wunderlich <siwu@hrz.tu-chemnitz.de>" 26 "Simon Wunderlich <siwu@hrz.tu-chemnitz.de>"
30#define DRIVER_DESC "B.A.T.M.A.N. advanced" 27#define DRIVER_DESC "B.A.T.M.A.N. advanced"
@@ -54,7 +51,6 @@
54 51
55#define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE) 52#define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE)
56 53
57#define PACKBUFF_SIZE 2000
58#define LOG_BUF_LEN 8192 /* has to be a power of 2 */ 54#define LOG_BUF_LEN 8192 /* has to be a power of 2 */
59 55
60#define VIS_INTERVAL 5000 /* 5 seconds */ 56#define VIS_INTERVAL 5000 /* 5 seconds */
@@ -96,15 +92,11 @@
96#define DBG_ROUTES 2 /* route or hna added / changed / deleted */ 92#define DBG_ROUTES 2 /* route or hna added / changed / deleted */
97#define DBG_ALL 3 93#define DBG_ALL 3
98 94
99#define LOG_BUF_LEN 8192 /* has to be a power of 2 */
100
101 95
102/* 96/*
103 * Vis 97 * Vis
104 */ 98 */
105 99
106/* #define VIS_SUBCLUSTERS_DISABLED */
107
108/* 100/*
109 * Kernel headers 101 * Kernel headers
110 */ 102 */
@@ -158,13 +150,6 @@ static inline void bat_dbg(char type __always_unused,
158} 150}
159#endif 151#endif
160 152
161#define bat_warning(net_dev, fmt, arg...) \
162 do { \
163 struct net_device *_netdev = (net_dev); \
164 struct bat_priv *_batpriv = netdev_priv(_netdev); \
165 bat_dbg(DBG_ALL, _batpriv, fmt, ## arg); \
166 pr_warning("%s: " fmt, _netdev->name, ## arg); \
167 } while (0)
168#define bat_info(net_dev, fmt, arg...) \ 153#define bat_info(net_dev, fmt, arg...) \
169 do { \ 154 do { \
170 struct net_device *_netdev = (net_dev); \ 155 struct net_device *_netdev = (net_dev); \