Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jakub Kicinski and committed by
David S. Miller
08dfa5a1 b1755400

-5
-5
include/linux/linkmode.h
··· 66 66 linkmode_clear_bit(nr, addr); 67 67 } 68 68 69 - static inline void linkmode_change_bit(int nr, volatile unsigned long *addr) 70 - { 71 - __change_bit(nr, addr); 72 - } 73 - 74 69 static inline int linkmode_test_bit(int nr, const volatile unsigned long *addr) 75 70 { 76 71 return test_bit(nr, addr);