Commit 926c5126 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

sock.h: Remove unused NETDEBUG macro

It's unused now, just delete it.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 45083497
...@@ -2280,9 +2280,6 @@ bool sk_net_capable(const struct sock *sk, int cap); ...@@ -2280,9 +2280,6 @@ bool sk_net_capable(const struct sock *sk, int cap);
* Enable debug/info messages * Enable debug/info messages
*/ */
extern int net_msg_warn; extern int net_msg_warn;
#define NETDEBUG(fmt, args...) \
do { if (net_msg_warn) printk(fmt,##args); } while (0)
#define LIMIT_NETDEBUG(fmt, args...) \ #define LIMIT_NETDEBUG(fmt, args...) \
do { if (net_msg_warn && net_ratelimit()) printk(fmt,##args); } while(0) do { if (net_msg_warn && net_ratelimit()) printk(fmt,##args); } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment