This is an automatic generated email to let you know that the following patch were queued:
Subject: media: rc: remove useless if statement Author: Sean Young <s...@mess.org> Date: Mon Feb 12 08:59:00 2018 -0500 ret is always 0, so remove if statement. Signed-off-by: Sean Young <s...@mess.org> Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> drivers/media/rc/lirc_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c index b01725296b46..fd3860d50034 100644 --- a/drivers/media/rc/lirc_dev.c +++ b/drivers/media/rc/lirc_dev.c @@ -570,7 +570,7 @@ static long ir_lirc_ioctl(struct file *file, unsigned int cmd, ret = -EINVAL; else if (dev->s_timeout) ret = dev->s_timeout(dev, tmp); - else if (!ret) + else dev->timeout = tmp; } break; _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits