summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 04bca11277..cfe111fd91 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -928,8 +928,6 @@ static int remoteserver_init(RemoteServer *s,
arg_url;
hostname = strdupa(hostname);
- if (!hostname)
- return log_oom();
if ((p = strchr(hostname, '/')))
*p = '\0';
if ((p = strchr(hostname, ':')))