Loading include/net/sch_generic.h +0 −2 Original line number Diff line number Diff line Loading @@ -255,8 +255,6 @@ struct tcf_proto { /* All the rest */ u32 prio; u32 classid; struct Qdisc *q; void *data; const struct tcf_proto_ops *ops; struct tcf_chain *chain; Loading net/sched/cls_api.c +2 −5 Original line number Diff line number Diff line Loading @@ -122,8 +122,7 @@ static inline u32 tcf_auto_prio(struct tcf_proto *tp) } static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, u32 prio, u32 parent, struct Qdisc *q, struct tcf_chain *chain) u32 prio, struct tcf_chain *chain) { struct tcf_proto *tp; int err; Loading Loading @@ -157,8 +156,6 @@ static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, tp->classify = tp->ops->classify; tp->protocol = protocol; tp->prio = prio; tp->classid = parent; tp->q = q; tp->chain = chain; err = tp->ops->init(tp); Loading Loading @@ -1069,7 +1066,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, prio = tcf_auto_prio(tcf_chain_tp_prev(&chain_info)); tp = tcf_proto_create(nla_data(tca[TCA_KIND]), protocol, prio, parent, q, chain); protocol, prio, chain); if (IS_ERR(tp)) { err = PTR_ERR(tp); goto errout; Loading Loading
include/net/sch_generic.h +0 −2 Original line number Diff line number Diff line Loading @@ -255,8 +255,6 @@ struct tcf_proto { /* All the rest */ u32 prio; u32 classid; struct Qdisc *q; void *data; const struct tcf_proto_ops *ops; struct tcf_chain *chain; Loading
net/sched/cls_api.c +2 −5 Original line number Diff line number Diff line Loading @@ -122,8 +122,7 @@ static inline u32 tcf_auto_prio(struct tcf_proto *tp) } static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, u32 prio, u32 parent, struct Qdisc *q, struct tcf_chain *chain) u32 prio, struct tcf_chain *chain) { struct tcf_proto *tp; int err; Loading Loading @@ -157,8 +156,6 @@ static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, tp->classify = tp->ops->classify; tp->protocol = protocol; tp->prio = prio; tp->classid = parent; tp->q = q; tp->chain = chain; err = tp->ops->init(tp); Loading Loading @@ -1069,7 +1066,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, prio = tcf_auto_prio(tcf_chain_tp_prev(&chain_info)); tp = tcf_proto_create(nla_data(tca[TCA_KIND]), protocol, prio, parent, q, chain); protocol, prio, chain); if (IS_ERR(tp)) { err = PTR_ERR(tp); goto errout; Loading