From: Joe Perches Date: Wed, 5 Nov 2014 23:42:09 +0000 (-0800) Subject: sock.h: Remove unused NETDEBUG macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=926c512685ddd8f26f1c789218391530ccd54a35;p=linux-beck.git sock.h: Remove unused NETDEBUG macro It's unused now, just delete it. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/include/net/sock.h b/include/net/sock.h index 7db3db112baa..6767d75ecb17 100644 --- 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)