projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcdd1cf
)
net: sched: fix compile warning in cls_u32
author
Eric Dumazet
<edumazet@google.com>
Mon, 22 Sep 2014 20:42:53 +0000
(13:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 22 Sep 2014 20:47:19 +0000
(16:47 -0400)
$ 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>
net/sched/cls_u32.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/cls_u32.c
b/net/sched/cls_u32.c
index e3fb5308d44a9088269838659b74466dd2193adb..ef97a646ee9411a13ad48ed849cc47ecb4b8a4cd 100644
(file)
--- 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