diff options
author | Vito Caputo <vito.caputo@coreos.com> | 2016-02-23 09:52:52 -0800 |
---|---|---|
committer | Vito Caputo <vito.caputo@coreos.com> | 2016-02-23 14:20:34 -0800 |
commit | 9ed794a32d4824c6a42fc222ea1054bb3d1394d7 (patch) | |
tree | d7e00abb5c3434b1c74208c0d5b6e7516b9eceb9 /src/network/networkd-fdb.c | |
parent | c550f7a9b89d017215af084288bc44f736f774fe (diff) |
tree-wide: minor formatting inconsistency cleanups
Diffstat (limited to 'src/network/networkd-fdb.c')
-rw-r--r-- | src/network/networkd-fdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-fdb.c b/src/network/networkd-fdb.c index 1538caa204..241f486211 100644 --- a/src/network/networkd-fdb.c +++ b/src/network/networkd-fdb.c @@ -37,7 +37,7 @@ int fdb_entry_new_static(Network *const network, assert(network); /* search entry in hashmap first. */ - if(section) { + if (section) { fdb_entry = hashmap_get(network->fdb_entries_by_section, UINT_TO_PTR(section)); if (fdb_entry) { *ret = fdb_entry; @@ -141,10 +141,10 @@ int fdb_entry_configure(Link *const link, FdbEntry *const fdb_entry) { /* remove and FDB entry. */ void fdb_entry_free(FdbEntry *fdb_entry) { - if(!fdb_entry) + if (!fdb_entry) return; - if(fdb_entry->network) { + if (fdb_entry->network) { LIST_REMOVE(static_fdb_entries, fdb_entry->network->static_fdb_entries, fdb_entry); |