diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-09-09 14:57:04 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-09-09 14:57:41 +0200 |
commit | 02736a9abce02eb53b0d504f96fc7b3e4f077020 (patch) | |
tree | d58cd3fc6e38c16fafcc28256c6d016f6df726f0 /src/libsystemd | |
parent | 5bdb84b393157bfd49e33450d883804383684923 (diff) |
sd-bus: drop weird empty lines
We should never put empty lines between `if` and `else if`, unless we use
braces.
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-bus/sd-bus.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 2ac4b9be8e..25fd3b5c52 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -1023,7 +1023,6 @@ static int bus_start_address(sd_bus *b) { if (b->exec_path) r = bus_socket_exec(b); - else if ((b->nspid > 0 || b->machine) && b->kernel) { r = bus_container_connect_kernel(b); if (r < 0 && !IN_SET(r, -ENOENT, -ESOCKTNOSUPPORT)) @@ -1045,7 +1044,6 @@ static int bus_start_address(sd_bus *b) { r = bus_socket_connect(b); else skipped = true; - } else skipped = true; |