network: drop redundant "else"

This commit is contained in:
Yu Watanabe 2019-08-26 15:40:30 +09:00
parent adcc450f46
commit 5e8712404e

View file

@ -548,8 +548,7 @@ int dhcp6_request_address(Link *link, int ir) {
r = sd_dhcp6_client_is_running(link->dhcp6_client);
if (r < 0)
return r;
else
running = r;
running = r;
r = sd_dhcp6_client_get_prefix_delegation(link->dhcp6_client, &pd);
if (r < 0)