Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52bc9747 authored by Hagen Paul Pfeifer's avatar Hagen Paul Pfeifer Committed by David S. Miller
Browse files

sched: protocol only needed when CONFIG_NET_CLS_ACT is enabled

parent ddc3731f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1672,12 +1672,12 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
		struct tcf_result *res)
{
	int err = 0;
	__be16 protocol;
#ifdef CONFIG_NET_CLS_ACT
	__be16 protocol;
	struct tcf_proto *otp = tp;
reclassify:
#endif
	protocol = skb->protocol;
#endif

	err = tc_classify_compat(skb, tp, res);
#ifdef CONFIG_NET_CLS_ACT