Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
335f94c9
Commit
335f94c9
authored
Jan 27, 2011
by
Sven Eckelmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
batman-adv: Remove unused definitions
Signed-off-by:
Sven Eckelmann
<
sven@narfation.org
>
parent
633979b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
net/batman-adv/main.h
net/batman-adv/main.h
+0
-15
No files found.
net/batman-adv/main.h
View file @
335f94c9
...
@@ -22,9 +22,6 @@
...
@@ -22,9 +22,6 @@
#ifndef _NET_BATMAN_ADV_MAIN_H_
#ifndef _NET_BATMAN_ADV_MAIN_H_
#define _NET_BATMAN_ADV_MAIN_H_
#define _NET_BATMAN_ADV_MAIN_H_
/* Kernel Programming */
#define LINUX
#define DRIVER_AUTHOR "Marek Lindner <lindner_marek@yahoo.de>, " \
#define DRIVER_AUTHOR "Marek Lindner <lindner_marek@yahoo.de>, " \
"Simon Wunderlich <siwu@hrz.tu-chemnitz.de>"
"Simon Wunderlich <siwu@hrz.tu-chemnitz.de>"
#define DRIVER_DESC "B.A.T.M.A.N. advanced"
#define DRIVER_DESC "B.A.T.M.A.N. advanced"
...
@@ -54,7 +51,6 @@
...
@@ -54,7 +51,6 @@
#define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE)
#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 LOG_BUF_LEN 8192
/* has to be a power of 2 */
#define VIS_INTERVAL 5000
/* 5 seconds */
#define VIS_INTERVAL 5000
/* 5 seconds */
...
@@ -96,15 +92,11 @@
...
@@ -96,15 +92,11 @@
#define DBG_ROUTES 2
/* route or hna added / changed / deleted */
#define DBG_ROUTES 2
/* route or hna added / changed / deleted */
#define DBG_ALL 3
#define DBG_ALL 3
#define LOG_BUF_LEN 8192
/* has to be a power of 2 */
/*
/*
* Vis
* Vis
*/
*/
/* #define VIS_SUBCLUSTERS_DISABLED */
/*
/*
* Kernel headers
* Kernel headers
*/
*/
...
@@ -158,13 +150,6 @@ static inline void bat_dbg(char type __always_unused,
...
@@ -158,13 +150,6 @@ static inline void bat_dbg(char type __always_unused,
}
}
#endif
#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...) \
#define bat_info(net_dev, fmt, arg...) \
do { \
do { \
struct net_device *_netdev = (net_dev); \
struct net_device *_netdev = (net_dev); \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment