diff options
author | Jiri Kosina <jkosina@suse.cz> | 2014-04-01 13:11:09 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-04-01 13:11:09 -0400 |
commit | 3ae821effdfea47dcb36b52e0a8dffd9757a96a6 (patch) | |
tree | 34e5c8bc7d35c3727d9f029e5bd6205333bddbc9 /drivers/hid/hid-sony.c | |
parent | fa1054a29b21e4c932b5c93def600149451cec32 (diff) |
HID: sony: fix force feedback mismerge
Fix unfortunate mismerge between the fixes and sony branch causing
code duplication and unterminated basic block.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sony.c')
-rw-r--r-- | drivers/hid/hid-sony.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 4d348c069981..69204afea7a4 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c | |||
@@ -1680,10 +1680,6 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id) | |||
1680 | goto err_stop; | 1680 | goto err_stop; |
1681 | } | 1681 | } |
1682 | 1682 | ||
1683 | if (sc->quirks & SONY_FF_SUPPORT) { | ||
1684 | ret = sony_init_ff(hdev); | ||
1685 | if (ret < 0) | ||
1686 | goto err_stop; | ||
1687 | if (sc->quirks & SONY_BATTERY_SUPPORT) { | 1683 | if (sc->quirks & SONY_BATTERY_SUPPORT) { |
1688 | ret = sony_battery_probe(sc); | 1684 | ret = sony_battery_probe(sc); |
1689 | if (ret < 0) | 1685 | if (ret < 0) |