Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: remove SOCK_DEBUG macro

Since there are no more users of the macro let's finally
burn it

Signed-off-by: Denis Kirjanov <dkirjanov@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Denis Kirjanov and committed by
David S. Miller
b1dffcf0 8e5443d2

-13
-13
include/net/sock.h
··· 76 76 * the other protocols. 77 77 */ 78 78 79 - /* Define this to get the SOCK_DBG debugging facility. */ 80 - #define SOCK_DEBUGGING 81 - #ifdef SOCK_DEBUGGING 82 - #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ 83 - printk(KERN_DEBUG msg); } while (0) 84 - #else 85 - /* Validate arguments and do nothing */ 86 - static inline __printf(2, 3) 87 - void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) 88 - { 89 - } 90 - #endif 91 - 92 79 /* This is the per-socket lock. The spinlock provides a synchronization 93 80 * between user contexts and software interrupt processing, whereas the 94 81 * mini-semaphore synchronizes multiple users amongst themselves.