Browse Source

fujitsu-tablet: remove duplicated code

Signed-off-by: Robert Gerlach <khnz@gmx.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Robert Gerlach 13 years ago
parent
commit
a5c02c2f63
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/platform/x86/fujitsu-tablet.c

+ 0 - 3
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);