Skip to content

Commit

Permalink
fujitsu-tablet: remove duplicated code
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Gerlach <khnz@gmx.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Robert Gerlach authored and Matthew Garrett committed May 31, 2012
1 parent 145047d commit a5c02c2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/platform/x86/fujitsu-tablet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5c02c2

Please sign in to comment.