Code

src/utils_latency{,_config}.[ch]: Reformat new code with clang-format.
[collectd.git] / src / ethstat.c
index f0b8d9f01f6d87c779d56e3d95cf0e5b4384b7cb..6dccb45f14fb7afe536cd8dc5807b5dd6b56ecca 100644 (file)
@@ -191,7 +191,6 @@ static void ethstat_submit_value (const char *device,
   vl.values = &(value_t) { .derive = value };
   vl.values_len = 1;
 
-  sstrncpy (vl.host, hostname_g, sizeof (vl.host));
   sstrncpy (vl.plugin, "ethstat", sizeof (vl.plugin));
   sstrncpy (vl.plugin_instance, device, sizeof (vl.plugin_instance));
   if (map != NULL)