Re: [PATCH] net/sched: avoid unused-label warning

From: David Miller
Date: Mon Mar 04 2019 - 16:24:48 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 4 Mar 2019 21:40:32 +0100

> The label is only used from inside the #ifdef and should be
> hidden the same way, to avoid this warning:
>
> net/sched/act_tunnel_key.c: In function 'tunnel_key_init':
> net/sched/act_tunnel_key.c:389:1: error: label 'release_tun_meta' defined but not used [-Werror=unused-label]
> release_tun_meta:
>
> Fixes: 41411e2fd6b8 ("net/sched: act_tunnel_key: Add dst_cache support")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied.