diff options
author | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2019-01-15 09:12:28 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-01-15 08:12:28 +0100 |
commit | a1e92eee3e928e33942b35f308621af0d43e91c8 (patch) | |
tree | 7fa341b06dc2c64a1e318e661939c6f98dedbad4 /src/network/networkd-brvlan.c | |
parent | 1c8e48f50661504e6b74a0eeaa3336f54e1e4238 (diff) | |
download | systemd-a1e92eee3e928e33942b35f308621af0d43e91c8.tar.gz |
Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
Diffstat (limited to 'src/network/networkd-brvlan.c')
-rw-r--r-- | src/network/networkd-brvlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-brvlan.c b/src/network/networkd-brvlan.c index 1d18e29b7c..8f9103f146 100644 --- a/src/network/networkd-brvlan.c +++ b/src/network/networkd-brvlan.c @@ -22,7 +22,7 @@ static bool is_bit_set(unsigned bit, uint32_t scope) { return scope & (1 << bit); } -static inline void set_bit(unsigned nr, uint32_t *addr) { +static void set_bit(unsigned nr, uint32_t *addr) { if (nr < BRIDGE_VLAN_BITMAP_MAX) addr[nr / 32] |= (((uint32_t) 1) << (nr % 32)); } |