collectd-nagios(1) and collectd-unixsock(5): Reference one another.
[collectd.git] / src / irq.c
index e39d0a5..1c7b5ae 100644 (file)
--- a/src/irq.c
+++ b/src/irq.c
@@ -25,8 +25,6 @@
 #include "plugin.h"
 #include "configfile.h"
 
-#define MODULE_NAME "irq"
-
 #if KERNEL_LINUX
 # define IRQ_HAVE_READ 1
 #else
 /*
  * (Module-)Global variables
  */
-static data_source_t dsrc_irq[1] =
-{
-       {"value", DS_TYPE_COUNTER, 0, 65535.0}
-};
-
-static data_set_t ds_irq =
-{
-       "irq", 1, dsrc_irq
-};
-
 #if IRQ_HAVE_READ
 static const char *config_keys[] =
 {
@@ -218,14 +206,11 @@ static int irq_read (void)
 
 void module_register (void)
 {
-       plugin_register_data_set (&ds_irq);
-
 #if IRQ_HAVE_READ
        plugin_register_config ("irq", irq_config,
                        config_keys, config_keys_num);
        plugin_register_read ("irq", irq_read);
 #endif /* IRQ_HAVE_READ */
-}
+} /* void module_register */
 
 #undef BUFSIZE
-#undef MODULE_NAME