Skip to content

net: get rid of unused static inlines

Jakub Kicinski dccp linux-hams netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 6 repliesApplied 15/15

Patches in v1 All 15 applied

#Subject and filesSizeRepliesApplied
1/15mii: remove mii_lpa_to_linkmode_lpa_sgmii()include/linux/mii.h+0 -171 replyApplied
2/15nfc: use *_set_vendor_cmds() helpersdrivers/nfc/st-nci/vendor_cmds.c drivers/nfc/st21nfca/vendor_cmds.c+3 -31 replyApplied
3/15net: remove net_invalid_timestamp()include/linux/skbuff.h+0 -50 repliesApplied
4/15net: remove linkmode_change_bit()include/linux/linkmode.h+0 -50 repliesApplied
5/15net: remove bond_slave_has_mac_rcu()include/net/bonding.h+0 -140 repliesApplied
6/15net: ax25: remove route refcountinclude/net/ax25.h net/ax25/ax25_route.c+2 -153 repliesApplied
7/15hsr: remove get_prp_lan_id()net/hsr/hsr_main.h+0 -50 repliesApplied
8/15ipv6: remove inet6_rsk() and tcp_twsk_ipv6only()include/linux/ipv6.h+0 -70 repliesApplied
9/15dccp: remove max48()net/dccp/dccp.h+0 -50 repliesApplied
10/15udp: remove inner_udp_hdr()include/linux/udp.h+0 -51 replyApplied
11/15udplite: remove udplite_csum_outgoing()include/net/udplite.h+0 -430 repliesApplied
12/15netlink: remove nl_set_extack_cookie_u32()include/linux/netlink.h+0 -90 repliesApplied
13/15net: sched: remove psched_tdiff_bounded()include/net/pkt_sched.h+0 -60 repliesApplied
14/15net: sched: remove qdisc_qlen_cpu()include/net/sch_generic.h+0 -50 repliesApplied
15/15net: tipc: remove unused static inlinesnet/tipc/msg.h+0 -230 repliesApplied

Reviews trailers per patch

3 of 15 patches have a Reviewed-by or Acked-by.

PatchWillem de BruijnKrzysztof KozlowskiDan Carpenter
1/15
2/15R-b
3/15
4/15
5/15
6/15R-b
7/15
8/15
9/15
10/15A-b
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 00/15] 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.

Jakub Kicinski (15):
mii: remove mii_lpa_to_linkmode_lpa_sgmii()
nfc: use *_set_vendor_cmds() helpers
net: remove net_invalid_timestamp()
net: remove linkmode_change_bit()
net: remove bond_slave_has_mac_rcu()
net: ax25: remove route refcount
hsr: remove get_prp_lan_id()
ipv6: remove inet6_rsk() and tcp_twsk_ipv6only()
dccp: remove max48()
udp: remove inner_udp_hdr()
udplite: remove udplite_csum_outgoing()
netlink: remove nl_set_extack_cookie_u32()
net: sched: remove psched_tdiff_bounded()
net: sched: remove qdisc_qlen_cpu()
net: tipc: remove unused static inlines

 drivers/nfc/st-nci/vendor_cmds.c   |  2 +-
 drivers/nfc/st21nfca/vendor_cmds.c |  4 +--
 include/linux/ipv6.h               |  7 -----
 include/linux/linkmode.h           |  5 ----
 include/linux/mii.h                | 17 ------------
 include/linux/netlink.h            |  9 -------
 include/linux/skbuff.h             |  5 ----
 include/linux/udp.h                |  5 ----
 include/net/ax25.h                 | 12 ---------
 include/net/bonding.h              | 14 ----------
 include/net/pkt_sched.h            |  6 -----
 include/net/sch_generic.h          |  5 ----
 include/net/udplite.h              | 43 ------------------------------
 net/ax25/ax25_route.c              |  5 ++--
 net/dccp/dccp.h                    |  5 ----
 net/hsr/hsr_main.h                 |  5 ----
 net/tipc/msg.h                     | 23 ----------------
 17 files changed, 5 insertions(+), 167 deletions(-)
Signature · 1 line
2.34.1