diff options
| author | David S. Miller <davem@davemloft.net> | 2022-01-27 13:53:27 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-01-27 13:53:27 +0000 |
| commit | 2fbafb828ec716ef35e877b17a927f3af70c91c6 (patch) | |
| tree | ba1685f1164cc2cb4dc417a9649cd66d8e6eb728 /include/linux/linkmode.h | |
| parent | d9f393f468aa939b53cc81b43169953ce37d7cdb (diff) | |
| parent | 5e4eca5d929a168085140fe93b1e8cef841008d5 (diff) | |
Merge branch 'static-inlines'
Jakub Kicinski says:
====================
net: get rid of unused static inlines
I noticed a couple of unused static inline functions reviewing
net/sched patches so I run a grep thru all of include/ and net/
to catch other cases. This set removes the cases which look like
obvious dead code.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/linkmode.h')
| -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); |
