Skip to content

Commit

Permalink
net: Remove netif_rx_any_context() and netif_rx_ni().
Browse files Browse the repository at this point in the history
Remove netif_rx_any_context and netif_rx_ni() because there are no more
users in tree.

Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Sebastian Andrzej Siewior authored and davem330 committed Mar 7, 2022
1 parent e1f9e43 commit 2655926
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -3718,16 +3718,6 @@ int do_xdp_generic(struct bpf_prog *xdp_prog, struct sk_buff *skb);
int netif_rx(struct sk_buff *skb);
int __netif_rx(struct sk_buff *skb);

static inline int netif_rx_ni(struct sk_buff *skb)
{
return netif_rx(skb);
}

static inline int netif_rx_any_context(struct sk_buff *skb)
{
return netif_rx(skb);
}

int netif_receive_skb(struct sk_buff *skb);
int netif_receive_skb_core(struct sk_buff *skb);
void netif_receive_skb_list_internal(struct list_head *head);
Expand Down

0 comments on commit 2655926

Please sign in to comment.