Skip to content

Commit 3ae821e

Browse files
author
Jiri Kosina
committed
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 <[email protected]>
1 parent fa1054a commit 3ae821e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/hid/hid-sony.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,10 +1680,6 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id)
16801680
goto err_stop;
16811681
}
16821682

1683-
if (sc->quirks & SONY_FF_SUPPORT) {
1684-
ret = sony_init_ff(hdev);
1685-
if (ret < 0)
1686-
goto err_stop;
16871683
if (sc->quirks & SONY_BATTERY_SUPPORT) {
16881684
ret = sony_battery_probe(sc);
16891685
if (ret < 0)

0 commit comments

Comments
 (0)