summaryrefslogtreecommitdiffstats
path: root/drivers
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
parentHID: hid-lg4ff: Update Comments (diff)
downloadlinux-c6e6dc87b306b897abc8a8b1c6ca05aa72317249.tar.xz
linux-c6e6dc87b306b897abc8a8b1c6ca05aa72317249.zip
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')
-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 24cf0379f800..f3390ee6105c 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;
}