aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ati_remote.c
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-05-11 08:13:30 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-25 23:46:56 -0300
commitf95589cc41ff973bd5d6aecc6205b048bdb95ed7 (patch)
treed5c19803d43ea4fd6bc5c3895a60744b6a9987e6 /drivers/media/rc/ati_remote.c
parent[media] ati_remote: Shrink ati_remote_tbl structure (diff)
downloadlinux-dev-f95589cc41ff973bd5d6aecc6205b048bdb95ed7.tar.xz
linux-dev-f95589cc41ff973bd5d6aecc6205b048bdb95ed7.zip
[media] ati_remote: Delete superfluous input_sync()
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>
Diffstat (limited to 'drivers/media/rc/ati_remote.c')
-rw-r--r--drivers/media/rc/ati_remote.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/rc/ati_remote.c b/drivers/media/rc/ati_remote.c
index c768c26b911f..658171fe99e5 100644
--- a/drivers/media/rc/ati_remote.c
+++ b/drivers/media/rc/ati_remote.c
@@ -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);