summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-09-22 13:42:53 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-22 16:47:19 -0400
commita2aeb02a8e6a9fef397c344245a54eeae67341f6 (patch)
tree58059a290b7172b3ce0f805d6faa08d308562f01
parentfcdd1cf4dd63aecf86c987d7f4ec7187be5c2fbc (diff)
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>
-rw-r--r--net/sched/cls_u32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c
index e3fb5308d44a..ef97a646ee94 100644
--- a/net/sched/cls_u32.c
+++ b/net/sched/cls_u32.c
@@ -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