mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
8e5443d2b8
commit
b1dffcf0da
1 changed files with 0 additions and 13 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue