Re: [PATCH] hv: hide unused label

From: Stephen Hemminger
Date: Fri Feb 17 2017 - 12:03:44 EST

On Tue, 14 Feb 2017 22:17:17 +0100
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> This new 32-bit warning just showed up:
> arch/x86/hyperv/hv_init.c: In function 'hyperv_init':
> arch/x86/hyperv/hv_init.c:167:1: error: label 'register_msr_cs' defined but not used [-Werror=unused-label]
> The easiest solution is to move the label up into the existing #ifdef that
> has the goto.
> Fixes: dee863b571b0 ("hv: export current Hyper-V clocksource")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>