Skip to content

Commit b1dffcf

Browse files
kda88davem330
authored andcommitted
net: remove SOCK_DEBUG macro
Since there are no more users of the macro let's finally burn it Signed-off-by: Denis Kirjanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8e5443d commit b1dffcf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

include/net/sock.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,6 @@
7676
* the other protocols.
7777
*/
7878

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-
9279
/* This is the per-socket lock. The spinlock provides a synchronization
9380
* between user contexts and software interrupt processing, whereas the
9481
* mini-semaphore synchronizes multiple users amongst themselves.

0 commit comments

Comments
 (0)