Commit b1dffcf0 authored by Denis Kirjanov's avatar Denis Kirjanov Committed by David S. Miller

net: remove SOCK_DEBUG macro

Since there are no more users of the macro let's finally
burn it
Signed-off-by: default avatarDenis Kirjanov <dkirjanov@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e5443d2
...@@ -76,19 +76,6 @@ ...@@ -76,19 +76,6 @@
* the other protocols. * the other protocols.
*/ */
/* Define this to get the SOCK_DBG debugging facility. */
#define SOCK_DEBUGGING
#ifdef SOCK_DEBUGGING
#define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \
printk(KERN_DEBUG msg); } while (0)
#else
/* Validate arguments and do nothing */
static inline __printf(2, 3)
void SOCK_DEBUG(const struct sock *sk, const char *msg, ...)
{
}
#endif
/* This is the per-socket lock. The spinlock provides a synchronization /* This is the per-socket lock. The spinlock provides a synchronization
* between user contexts and software interrupt processing, whereas the * between user contexts and software interrupt processing, whereas the
* mini-semaphore synchronizes multiple users amongst themselves. * mini-semaphore synchronizes multiple users amongst themselves.
......
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