Skip to content

Commit

Permalink
pkt_sched: Kill set but unused variable 'protocol' in tc_classify()
Browse files Browse the repository at this point in the history
I checked the history and this has been like this since the
beginning of time.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent 8fb53b9 commit f06cd54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/sched/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1673,10 +1673,8 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
{
int err = 0;
#ifdef CONFIG_NET_CLS_ACT
__be16 protocol;
struct tcf_proto *otp = tp;
reclassify:
protocol = skb->protocol;
#endif

err = tc_classify_compat(skb, tp, res);
Expand Down

0 comments on commit f06cd54

Please sign in to comment.