Skip to content

Commit

Permalink
net: sched: fix compile warning in cls_u32
Browse files Browse the repository at this point in the history
$ grep CONFIG_CLS_U32_MARK .config
# CONFIG_CLS_U32_MARK is not set

net/sched/cls_u32.c: In function 'u32_change':
net/sched/cls_u32.c:852:1: warning: label 'errout' defined but not used
[-Wunused-label]

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Sep 22, 2014
1 parent fcdd1cf commit a2aeb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -847,9 +847,9 @@ static int u32_change(struct net *net, struct sk_buff *in_skb,

#ifdef CONFIG_CLS_U32_MARK
free_percpu(n->pcpu_success);
errout:
#endif

errout:
#ifdef CONFIG_CLS_U32_PERF
free_percpu(n->pf);
#endif
Expand Down

0 comments on commit a2aeb02

Please sign in to comment.