mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:01:14 +07:00
media: rc: remove useless if statement
ret is always 0, so remove if statement. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
ba02086dee
commit
c2837ad090
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user