Skip to content

Commit

Permalink
net: sched: remove tc_cls_common_offload_init_deprecated()
Browse files Browse the repository at this point in the history
All users are now converted to tc_cls_common_offload_init().

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Jan 24, 2018
1 parent 458e704 commit c846adb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions include/net/pkt_cls.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,17 +605,6 @@ struct tc_cls_common_offload {
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 tcf_exts *exts;
struct tc_u32_sel *sel;
Expand Down

0 comments on commit c846adb

Please sign in to comment.