media: rc: mce_kbd decoder: remove superfluous call to input_sync
authorSean Young <sean@mess.org>
Wed, 11 Apr 2018 15:02:16 +0000 (11:02 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 13:19:35 +0000 (09:19 -0400)
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>
drivers/media/rc/ir-mce_kbd-decoder.c

index 002b832..2fc7871 100644 (file)
@@ -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;
 }