Re: [PATCH mac80211-next] rfkill: hide unused goto label

From: Johannes Berg
Date: Fri Dec 16 2016 - 04:07:53 EST


On Fri, 2016-12-16 at 09:44 +0100, Arnd Bergmann wrote:
> A cleanup introduced a harmless warning in some configurations:
>
> net/rfkill/core.c: In function 'rfkill_init':
> net/rfkill/core.c:1350:1: warning: label 'error_input' defined but
> not used [-Wunused-label]
>
> This adds another #ifdef around the label to match that around the
> caller.

Applied, thanks.

johannes