Merge branch 'ff/types' into collectd-4
[collectd.git] / src / hddtemp.c
index a775861..00814bd 100644 (file)
 #define HDDTEMP_DEF_HOST "127.0.0.1"
 #define HDDTEMP_DEF_PORT "7634"
 
-static data_source_t data_source_temperature[1] =
-{
-       {"value", DS_TYPE_GAUGE, -273.15, NAN}
-};
-
-static data_set_t temperature_ds =
-{
-       "temperature", 1, data_source_temperature
-};
-
 #if HDDTEMP_HAVE_READ
 static const char *config_keys[] =
 {
@@ -516,8 +506,6 @@ static int hddtemp_read (void)
    Register collectd plugin. */
 void module_register (void)
 {
-       plugin_register_data_set (&temperature_ds);
-       
 #if HDDTEMP_HAVE_READ
        plugin_register_config ("hddtemp", hddtemp_config,
                        config_keys, config_keys_num);