Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
1c8e48f506
commit
a1e92eee3e
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user