X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flpar.c;h=69a56e1cdea3e9508c0b3bc14ab5aace5a622deb;hb=db8b1cda4841f45af22d149c6bfc575e79289f75;hp=0e32c834506f6aa2cf85b48643e3c5f10ba5c4ae;hpb=10139cda6f68ae1f921d79c930dd85944afb74a3;p=collectd.git diff --git a/src/lpar.c b/src/lpar.c index 0e32c834..69a56e1c 100644 --- a/src/lpar.c +++ b/src/lpar.c @@ -123,10 +123,6 @@ static void lpar_submit (const char *type_instance, double value) sstrncpy (vl.host, serial, sizeof (vl.host)); sstrncpy (vl.plugin_instance, hostname_g, sizeof (vl.plugin)); } - else - { - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); - } sstrncpy (vl.plugin, "lpar", sizeof (vl.plugin)); sstrncpy (vl.type, "vcpu", sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));