Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: David S. Miller <davem@davemloft.net>

-2
-2
net/sched/sch_api.c
··· 1673 1673 { 1674 1674 int err = 0; 1675 1675 #ifdef CONFIG_NET_CLS_ACT 1676 - __be16 protocol; 1677 1676 struct tcf_proto *otp = tp; 1678 1677 reclassify: 1679 - protocol = skb->protocol; 1680 1678 #endif 1681 1679 1682 1680 err = tc_classify_compat(skb, tp, res);