From a5c02c2f63812c265d34ef93e1ea7e5fe2d3a784 Mon Sep 17 00:00:00 2001 From: Robert Gerlach Date: Tue, 3 Apr 2012 22:34:33 +0200 Subject: [PATCH] fujitsu-tablet: remove duplicated code Signed-off-by: Robert Gerlach Signed-off-by: Matthew Garrett --- drivers/platform/x86/fujitsu-tablet.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c index 580d80a73c3a..4830f5d297e9 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); -- 2.20.1