diff --git a/src/lpar.c b/src/lpar.c
index 0e32c834506f6aa2cf85b48643e3c5f10ba5c4ae..69a56e1cdea3e9508c0b3bc14ab5aace5a622deb 100644 (file)
--- a/src/lpar.c
+++ b/src/lpar.c
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));