rfkill: hide unused goto label
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Dec 2016 08:44:08 +0000 (09:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 16 Dec 2016 09:05:39 +0000 (10:05 +0100)
commitf6b4122c93f43c3f7b5787ca20fa3ac458f50d05
tree034a7f355d5d227e4d1dee964eb1042ce06ebbc1
parent38252e9ef68936f104a5791740f4ca2f81510a33
rfkill: hide unused goto label

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.

Fixes: 6124c53edeea ("rfkill: Cleanup error handling in rfkill_init()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c