diff options
-rw-r--r-- | net/sched/sch_api.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 7490f3f2db8b..6b8627661c98 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -1673,10 +1673,8 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp, | |||
1673 | { | 1673 | { |
1674 | int err = 0; | 1674 | int err = 0; |
1675 | #ifdef CONFIG_NET_CLS_ACT | 1675 | #ifdef CONFIG_NET_CLS_ACT |
1676 | __be16 protocol; | ||
1677 | struct tcf_proto *otp = tp; | 1676 | struct tcf_proto *otp = tp; |
1678 | reclassify: | 1677 | reclassify: |
1679 | protocol = skb->protocol; | ||
1680 | #endif | 1678 | #endif |
1681 | 1679 | ||
1682 | err = tc_classify_compat(skb, tp, res); | 1680 | err = tc_classify_compat(skb, tp, res); |