Code

netlink plugin: Removed unused code.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 1 Sep 2007 18:53:52 +0000 (20:53 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 1 Sep 2007 18:53:52 +0000 (20:53 +0200)
src/netlink.c

index fa8a92f2e6850c678e5aa1a7dd70ca077c58b97f..6f9f593cbeefdf13a006c07caf6f7f79ce60f300 100644 (file)
@@ -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;