projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e5a9a
)
netlink plugin: Removed unused code.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 1 Sep 2007 18:53:52 +0000
(20:53 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 1 Sep 2007 18:53:52 +0000
(20:53 +0200)
src/netlink.c
patch
|
blob
|
history
diff --git
a/src/netlink.c
b/src/netlink.c
index
fa8a92f
..
6f9f593
100644
(file)
--- 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;