Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236825
b: refs/heads/master
c: 335f94c
h: refs/heads/master
i:
  236823: e67d67e
v: v3
  • Loading branch information
Sven Eckelmann committed Jan 31, 2011
1 parent cf571c1 commit 74789f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 633979b43f23d776f6fb757f0f3d6d8089ab57b1
refs/heads/master: 335f94c981248e9f326986e0ac8d31f187ffeed0
15 changes: 0 additions & 15 deletions trunk/net/batman-adv/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
#ifndef _NET_BATMAN_ADV_MAIN_H_
#define _NET_BATMAN_ADV_MAIN_H_

/* Kernel Programming */
#define LINUX

#define DRIVER_AUTHOR "Marek Lindner <lindner_marek@yahoo.de>, " \
"Simon Wunderlich <siwu@hrz.tu-chemnitz.de>"
#define DRIVER_DESC "B.A.T.M.A.N. advanced"
Expand Down Expand Up @@ -54,7 +51,6 @@

#define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE)

#define PACKBUFF_SIZE 2000
#define LOG_BUF_LEN 8192 /* has to be a power of 2 */

#define VIS_INTERVAL 5000 /* 5 seconds */
Expand Down Expand Up @@ -96,15 +92,11 @@
#define DBG_ROUTES 2 /* route or hna added / changed / deleted */
#define DBG_ALL 3

#define LOG_BUF_LEN 8192 /* has to be a power of 2 */


/*
* Vis
*/

/* #define VIS_SUBCLUSTERS_DISABLED */

/*
* Kernel headers
*/
Expand Down Expand Up @@ -158,13 +150,6 @@ static inline void bat_dbg(char type __always_unused,
}
#endif

#define bat_warning(net_dev, fmt, arg...) \
do { \
struct net_device *_netdev = (net_dev); \
struct bat_priv *_batpriv = netdev_priv(_netdev); \
bat_dbg(DBG_ALL, _batpriv, fmt, ## arg); \
pr_warning("%s: " fmt, _netdev->name, ## arg); \
} while (0)
#define bat_info(net_dev, fmt, arg...) \
do { \
struct net_device *_netdev = (net_dev); \
Expand Down

0 comments on commit 74789f6

Please sign in to comment.