Remove 'inline' attributes from static functions in .c files (#11426)

Let the compiler perform inlining (see #11397).
This commit is contained in:
Topi Miettinen
2019-01-15 08:12:28 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 1c8e48f506
commit a1e92eee3e
21 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -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));
}