aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gerlach <khnz@gmx.de>2012-04-03 22:34:33 +0200
committerMatthew Garrett <mjg@redhat.com>2012-05-31 14:23:38 -0400
commita5c02c2f63812c265d34ef93e1ea7e5fe2d3a784 (patch)
tree2653e3ea6a810697b0d9d13527e18d8f5246ddfc
parent145047de994098dcc1a342af6444b2a7d64c4075 (diff)
fujitsu-tablet: remove duplicated code
Signed-off-by: Robert Gerlach <khnz@gmx.de> Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r--drivers/platform/x86/fujitsu-tablet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c
index 580d80a73c3..4830f5d297e 100644
--- a/drivers/platform/x86/fujitsu-tablet.c
+++ b/drivers/platform/x86/fujitsu-tablet.c
@@ -221,9 +221,6 @@ static int __devinit input_fujitsu_setup(struct device *parent,
input_set_capability(idev, EV_SW, SW_DOCK);
input_set_capability(idev, EV_SW, SW_TABLET_MODE);
- input_set_capability(idev, EV_SW, SW_DOCK);
- input_set_capability(idev, EV_SW, SW_TABLET_MODE);
-
error = input_register_device(idev);
if (error) {
input_free_device(idev);