summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-04-11 11:02:16 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-20 09:19:35 -0400
commitcb5bd0575c41ac34c62a7784da7232d1c90e6eca (patch)
tree6134ea4e47752dddd54a9cd6f76f5f8876b7aed4 /drivers/media/rc
parent63039c29f7a4ce8a8bd165173840543c0098d7b0 (diff)
downloadblackbird-op-linux-cb5bd0575c41ac34c62a7784da7232d1c90e6eca.tar.gz
blackbird-op-linux-cb5bd0575c41ac34c62a7784da7232d1c90e6eca.zip
media: rc: mce_kbd decoder: remove superfluous call to input_sync
There is nothing to sync in this code path. Reported-by: Matthias Reichl <hias@horus.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/ir-mce_kbd-decoder.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-mce_kbd-decoder.c b/drivers/media/rc/ir-mce_kbd-decoder.c
index 002b8323ae69..2fc78710a724 100644
--- a/drivers/media/rc/ir-mce_kbd-decoder.c
+++ b/drivers/media/rc/ir-mce_kbd-decoder.c
@@ -362,7 +362,6 @@ out:
dev_dbg(&dev->dev, "failed at state %i (%uus %s)\n",
data->state, TO_US(ev.duration), TO_STR(ev.pulse));
data->state = STATE_INACTIVE;
- input_sync(data->idev);
return -EINVAL;
}
OpenPOWER on IntegriCloud