mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
sock.h: Remove unused NETDEBUG macro
It's unused now, just delete it. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4508349777
commit
926c512685
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue