]> git.karo-electronics.de Git - linux-beck.git/commitdiff
fujitsu-tablet: remove duplicated code
authorRobert Gerlach <khnz@gmx.de>
Tue, 3 Apr 2012 20:34:33 +0000 (22:34 +0200)
committerMatthew Garrett <mjg@redhat.com>
Thu, 31 May 2012 18:23:38 +0000 (14:23 -0400)
Signed-off-by: Robert Gerlach <khnz@gmx.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/fujitsu-tablet.c

index 580d80a73c3adab888ba7fb07adb323c4c48883a..4830f5d297e9a418a711a5a8a10ee17b51f03f54 100644 (file)
@@ -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);