summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwenxu <wenxu@ucloud.cn>2020-11-25 12:01:22 +0800
committerJakub Kicinski <kuba@kernel.org>2020-11-27 14:36:02 -0800
commitfa6d639930ee5cd3f932cc314f3407f07a06582d (patch)
tree45ba46c4afbe2ee321c88882713381ce8d391a01 /include
parentaadaca9e7c392dbf877af8cefb156199f1a67bbe (diff)
net/sched: act_mirred: refactor the handle of xmit
This one is prepare for the next patch. Signed-off-by: wenxu <wenxu@ucloud.cn> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/sch_generic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index d8fd8676fc72..dd74f06bbb0b 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -1281,9 +1281,4 @@ void mini_qdisc_pair_init(struct mini_Qdisc_pair *miniqp, struct Qdisc *qdisc,
void mini_qdisc_pair_block_init(struct mini_Qdisc_pair *miniqp,
struct tcf_block *block);
-static inline int skb_tc_reinsert(struct sk_buff *skb, struct tcf_result *res)
-{
- return res->ingress ? netif_receive_skb(skb) : dev_queue_xmit(skb);
-}
-
#endif