diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-01-26 11:10:58 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 13:53:26 +0000 |
commit | 08dfa5a19e1f4344ce5d3a5eed4c5529adafe0dc (patch) | |
tree | eb44fd2dd9a21b5fc44237dd09e116b68d00e0be /include | |
parent | b1755400b4be33dbd286272b153579631be2e2ca (diff) | |
download | linux-08dfa5a19e1f4344ce5d3a5eed4c5529adafe0dc.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/linkmode.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/linkmode.h b/include/linux/linkmode.h index f8397f300fcd..15e0e0209da4 100644 --- a/include/linux/linkmode.h +++ b/include/linux/linkmode.h @@ -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); |