From 3ae821effdfea47dcb36b52e0a8dffd9757a96a6 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Tue, 1 Apr 2014 19:11:09 +0200 Subject: [PATCH] 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 --- drivers/hid/hid-sony.c | 4 ---- 1 file changed, 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) goto err_stop; } - if (sc->quirks & SONY_FF_SUPPORT) { - ret = sony_init_ff(hdev); - if (ret < 0) - goto err_stop; if (sc->quirks & SONY_BATTERY_SUPPORT) { ret = sony_battery_probe(sc); if (ret < 0) -- 2.20.1