summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorAndi Shyti2016-07-06 11:01:22 +0200
committerMauro Carvalho Chehab2016-11-18 17:16:09 +0100
commit5911f629266d577c7697dd3e9797b2d1e947a40b (patch)
treee1b62bcc543eebc670d4faa9885ce50bde1dbc53 /drivers/media/rc
parent[media] saa7134: fix warm Medion 7134 EEPROM read (diff)
downloadkernel-qcow2-linux-5911f629266d577c7697dd3e9797b2d1e947a40b.tar.gz
kernel-qcow2-linux-5911f629266d577c7697dd3e9797b2d1e947a40b.tar.xz
kernel-qcow2-linux-5911f629266d577c7697dd3e9797b2d1e947a40b.zip
[media] lirc_dev: remove compat_ioctl assignment
There is no need to check for CONFIG_COMPAT and consequently assign the compat_ioctl. Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/lirc_dev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
index 91f9bb87ce68..809a8671e3d6 100644
--- a/drivers/media/rc/lirc_dev.c
+++ b/drivers/media/rc/lirc_dev.c
@@ -150,9 +150,6 @@ static const struct file_operations lirc_dev_fops = {
.write = lirc_dev_fop_write,
.poll = lirc_dev_fop_poll,
.unlocked_ioctl = lirc_dev_fop_ioctl,
-#ifdef CONFIG_COMPAT
- .compat_ioctl = lirc_dev_fop_ioctl,
-#endif
.open = lirc_dev_fop_open,
.release = lirc_dev_fop_close,
.llseek = noop_llseek,