Commit f06cd54f authored by David S. Miller's avatar David S. Miller

pkt_sched: Kill set but unused variable 'protocol' in tc_classify()

I checked the history and this has been like this since the
beginning of time.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8fb53b95
...@@ -1673,10 +1673,8 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp, ...@@ -1673,10 +1673,8 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
{ {
int err = 0; int err = 0;
#ifdef CONFIG_NET_CLS_ACT #ifdef CONFIG_NET_CLS_ACT
__be16 protocol;
struct tcf_proto *otp = tp; struct tcf_proto *otp = tp;
reclassify: reclassify:
protocol = skb->protocol;
#endif #endif
err = tc_classify_compat(skb, tp, res); err = tc_classify_compat(skb, tp, res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment