networkd: fix coding style (#4294)

This commit is contained in:
Susant Sahani 2016-10-06 15:15:07 +05:30 committed by Lennart Poettering
parent d2665e0866
commit 197e280932
1 changed files with 3 additions and 4 deletions

View File

@ -944,16 +944,15 @@ static int link_push_ntp_to_dhcp_server(Link *link, sd_dhcp_server *s) {
static int link_set_bridge_fdb(Link *link) {
FdbEntry *fdb_entry;
int r = 0;
int r;
LIST_FOREACH(static_fdb_entries, fdb_entry, link->network->static_fdb_entries) {
r = fdb_entry_configure(link, fdb_entry);
if (r < 0) {
if (r < 0)
return log_link_error_errno(link, r, "Failed to add MAC entry to static MAC table: %m");
}
}
return r;
return 0;
}
static int link_enter_set_addresses(Link *link) {