From: Sean Young Date: Wed, 11 Apr 2018 15:02:16 +0000 (-0400) Subject: media: rc: mce_kbd decoder: remove superfluous call to input_sync X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cb5bd0575c41ac34c62a7784da7232d1c90e6eca;p=openwrt%2Fstaging%2Fblogic.git media: rc: mce_kbd decoder: remove superfluous call to input_sync There is nothing to sync in this code path. Reported-by: Matthias Reichl Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- 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; }