timedated: remove unnecessary goto

Not needed since 99f861310d.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-05-05 23:44:52 -05:00
parent f44b28fda0
commit f2bf5007a9

View file

@ -87,12 +87,9 @@ static int context_read_data(Context *c) {
c->zone = strdup(e);
if (!c->zone)
return log_oom();
goto have_timezone;
}
}
have_timezone:
if (isempty(c->zone)) {
free(c->zone);
c->zone = NULL;