From: Eric Dumazet Date: Mon, 22 Sep 2014 20:42:53 +0000 (-0700) Subject: net: sched: fix compile warning in cls_u32 X-Git-Tag: v3.18-rc1~52^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a2aeb02a8e6a9fef397c344245a54eeae67341f6;p=karo-tx-linux.git 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 Signed-off-by: David S. Miller --- 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