Skip to content

Commit

Permalink
sock.h: Remove unused NETDEBUG macro
Browse files Browse the repository at this point in the history
It's unused now, just delete it.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Joe Perches authored and David S. Miller committed Nov 6, 2014
1 parent 4508349 commit 926c512
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 926c512

Please sign in to comment.