[media] ati_remote: Delete superfluous input_sync()
authorGeorge Spelvin <linux@horizon.com>
Sun, 11 May 2014 11:13:30 +0000 (08:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 02:46:56 +0000 (23:46 -0300)
It's not necessary, and since both events happen "at the same time"
in response to a single input event, the input device framework prefers
not to have it there.

(It's not a big deal one way or the other, but deleting cruft
is generally a good thing.)

Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/ati_remote.c

index c768c26b911f9e8c9d4adf16d06d8b5dc7abafcf..658171fe99e50f52147b01143a2ccd501b8530f3 100644 (file)
@@ -632,7 +632,6 @@ static void ati_remote_input_report(struct urb *urb)
 
                input_event(dev, ati_remote_tbl[index].type,
                        ati_remote_tbl[index].code, 1);
-               input_sync(dev);
                input_event(dev, ati_remote_tbl[index].type,
                        ati_remote_tbl[index].code, 0);
                input_sync(dev);