diff options
author | Joe Perches <joe@perches.com> | 2018-05-10 08:24:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-10 23:43:55 +0200 |
commit | 03bdfc001c951cb04ad3d28aecee4ec0e18e9664 (patch) | |
tree | 61fb708d92a51329d15802c9d8ee999e0a1ee923 /net/ipv4 | |
parent | liquidio: bump up driver version to 1.7.2 to match newer NIC firmware (diff) | |
download | linux-03bdfc001c951cb04ad3d28aecee4ec0e18e9664.tar.xz linux-03bdfc001c951cb04ad3d28aecee4ec0e18e9664.zip |
net: ipv4: remove define INET_CSK_DEBUG and unnecessary EXPORT_SYMBOL
INET_CSK_DEBUG is always set and only is used for 2 pr_debug calls.
EXPORT_SYMBOL(inet_csk_timer_bug_msg) is only used by these 2
pr_debug calls and is also unnecessary as the exported string can
be used directly by these calls.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 881ac6d046f2..33a88e045efd 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c @@ -27,11 +27,6 @@ #include <net/sock_reuseport.h> #include <net/addrconf.h> -#ifdef INET_CSK_DEBUG -const char inet_csk_timer_bug_msg[] = "inet_csk BUG: unknown timer value\n"; -EXPORT_SYMBOL(inet_csk_timer_bug_msg); -#endif - #if IS_ENABLED(CONFIG_IPV6) /* match_wildcard == true: IPV6_ADDR_ANY equals to any IPv6 addresses if IPv6 * only, and any IPv4 addresses if not IPv6 only |