X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftcpconns.c;h=07170d788821314399fd3b0b4a2efcd49003252d;hb=a396da422740caf336a6d594515e8d80de6f440a;hp=3889d0ff2ca728e4127cab894806d37641a0b855;hpb=1804ab004b8c7e14eac8c3a662747fbae4cf4aad;p=collectd.git diff --git a/src/tcpconns.c b/src/tcpconns.c index 3889d0ff..07170d78 100644 --- a/src/tcpconns.c +++ b/src/tcpconns.c @@ -76,7 +76,6 @@ #endif #if KERNEL_LINUX -#include #include #if HAVE_LINUX_INET_DIAG_H #include @@ -264,7 +263,7 @@ static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); static int port_collect_listening = 0; static int port_collect_total = 0; -static port_entry_t *port_list_head = NULL; +static port_entry_t *port_list_head; static uint32_t count_total[TCP_STATE_MAX + 1]; #if KERNEL_LINUX