summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg4ff.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2012-04-23 21:08:15 +0200
committerJiri Kosina <jkosina@suse.cz>2012-04-23 21:08:15 +0200
commitc6e6dc87b306b897abc8a8b1c6ca05aa72317249 (patch)
tree95a7b02b5187010e192e7ccf2cd2d013c71e7c05 /drivers/hid/hid-lg4ff.c
parent6401380086eda2278a67f0c08ef783008d940f73 (diff)
downloadop-kernel-dev-c6e6dc87b306b897abc8a8b1c6ca05aa72317249.zip
op-kernel-dev-c6e6dc87b306b897abc8a8b1c6ca05aa72317249.tar.gz
HID: hid-lg4ff: remove unused label in !LEDS_CLASS case
'out' label will be unused of CONFIG_LEDS_CLASS is unset. Move it into conditional block. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg4ff.c')
-rw-r--r--drivers/hid/hid-lg4ff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index 24cf037..f3390ee 100644
--- a/drivers/hid/hid-lg4ff.c
+++ b/drivers/hid/hid-lg4ff.c
@@ -588,9 +588,8 @@ err:
}
}
}
-#endif
-
out:
+#endif
hid_info(hid, "Force feedback support for Logitech Gaming Wheels\n");
return 0;
}
OpenPOWER on IntegriCloud