Skip to content

Commit a2aeb02

Browse files
edumazetdavem330
authored andcommitted
net: sched: fix compile warning in cls_u32
$ 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>
1 parent fcdd1cf commit a2aeb02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sched/cls_u32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,9 @@ static int u32_change(struct net *net, struct sk_buff *in_skb,
847847

848848
#ifdef CONFIG_CLS_U32_MARK
849849
free_percpu(n->pcpu_success);
850+
errout:
850851
#endif
851852

852-
errout:
853853
#ifdef CONFIG_CLS_U32_PERF
854854
free_percpu(n->pf);
855855
#endif

0 commit comments

Comments
 (0)