projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4508349
)
sock.h: Remove unused NETDEBUG macro
author
Joe Perches
<joe@perches.com>
Wed, 5 Nov 2014 23:42:09 +0000
(15:42 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 6 Nov 2014 20:11:11 +0000
(15:11 -0500)
It's unused now, just delete it.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
patch
|
blob
|
history
diff --git
a/include/net/sock.h
b/include/net/sock.h
index
7db3db1
..
6767d75
100644
(file)
--- a/
include/net/sock.h
+++ b/
include/net/sock.h
@@
-2280,9
+2280,6
@@
bool sk_net_capable(const struct sock *sk, int cap);
* Enable debug/info messages
*/
extern int net_msg_warn;
-#define NETDEBUG(fmt, args...) \
- do { if (net_msg_warn) printk(fmt,##args); } while (0)
-
#define LIMIT_NETDEBUG(fmt, args...) \
do { if (net_msg_warn && net_ratelimit()) printk(fmt,##args); } while(0)