提交 c846adb6 编写于 作者: J Jakub Kicinski 提交者: David S. Miller

net: sched: remove tc_cls_common_offload_init_deprecated()

All users are now converted to tc_cls_common_offload_init().
Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: NSimon Horman <simon.horman@netronome.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 458e704d
...@@ -605,17 +605,6 @@ struct tc_cls_common_offload { ...@@ -605,17 +605,6 @@ struct tc_cls_common_offload {
struct netlink_ext_ack *extack; struct netlink_ext_ack *extack;
}; };
static inline void
tc_cls_common_offload_init_deprecated(struct tc_cls_common_offload *cls_common,
const struct tcf_proto *tp,
struct netlink_ext_ack *extack)
{
cls_common->chain_index = tp->chain->index;
cls_common->protocol = tp->protocol;
cls_common->prio = tp->prio;
cls_common->extack = extack;
}
struct tc_cls_u32_knode { struct tc_cls_u32_knode {
struct tcf_exts *exts; struct tcf_exts *exts;
struct tc_u32_sel *sel; struct tc_u32_sel *sel;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册