summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hostname/hostnamed.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index ece5d1d410..0854bc412f 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -360,9 +360,6 @@ static int property_get_chassis(
else
name = c->data[PROP_CHASSIS];
- if(!name)
- name = "";
-
r = sd_bus_message_append(reply, "s", name);
if (r < 0)
return r;