mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09: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:
committed by
David S. Miller
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);
|
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)
|
static inline int linkmode_test_bit(int nr, const volatile unsigned long *addr)
|
||||||
{
|
{
|
||||||
return test_bit(nr, addr);
|
return test_bit(nr, addr);
|
||||||
|
|||||||
Reference in New Issue
Block a user