Re: [PATCH] tlan: avoid unused label with PCI=n

From: David Miller
Date: Thu Oct 13 2016 - 09:56:38 EST

From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 10 Oct 2016 14:41:10 +0200

> While build testing with randconfig on x86, I ran into this warning
> that appears to have been around forever
> drivers/net/ethernet/ti/tlan.c: In function ʽtlan_probe1ʼ:
> drivers/net/ethernet/ti/tlan.c:614:1: error: label ʽerr_outʼ defined but not used [-Werror=unused-label]
> This can be trivially avoided by just moving the label into the
> existing #ifdef.
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied, thanks Arnd.