mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 02:52:22 +00:00
net: remove linkmode_change_bit()
No callers since v5.7, the initial use case seems pretty esoteric so removing this should not harm the completeness of the API. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b1755400b4
commit
08dfa5a19e
@ -66,11 +66,6 @@ static inline void linkmode_mod_bit(int nr, volatile unsigned long *addr,
|
||||
linkmode_clear_bit(nr, addr);
|
||||
}
|
||||
|
||||
static inline void linkmode_change_bit(int nr, volatile unsigned long *addr)
|
||||
{
|
||||
__change_bit(nr, addr);
|
||||
}
|
||||
|
||||
static inline int linkmode_test_bit(int nr, const volatile unsigned long *addr)
|
||||
{
|
||||
return test_bit(nr, addr);
|
||||
|
Loading…
Reference in New Issue
Block a user