summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-11-05 15:42:09 -0800
committerDavid S. Miller <davem@davemloft.net>2014-11-06 15:11:11 -0500
commit926c512685ddd8f26f1c789218391530ccd54a35 (patch)
tree01d9d6821c95e47080a8126dfb3316996793365c /include/net/sock.h
parent450834977796cc74d1265d7dfe69cf6767537dfc (diff)
downloadop-kernel-dev-926c512685ddd8f26f1c789218391530ccd54a35.zip
op-kernel-dev-926c512685ddd8f26f1c789218391530ccd54a35.tar.gz
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>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 7db3db1..6767d75 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)
OpenPOWER on IntegriCloud