From: Florian Forster Date: Sat, 1 Sep 2007 18:53:52 +0000 (+0200) Subject: netlink plugin: Removed unused code. X-Git-Tag: collectd-4.1.0~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35eb5185beb91eee44d41ed9149cee1fe5405002;p=collectd.git netlink plugin: Removed unused code. --- diff --git a/src/netlink.c b/src/netlink.c index fa8a92f2..6f9f593c 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -130,12 +130,6 @@ static int check_ignorelist (const char *dev, if (strcasecmp (i->type, type) != 0) continue; -#if 0 - if ((i->inst != NULL) - && ((type_instance == NULL) - || (strcasecmp (i->inst, type_instance) != 0))) - continue; -#endif if ((i->inst != NULL) && (type_instance != NULL) && (strcasecmp (i->inst, type_instance) != 0)) continue;