diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-06 18:36:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-06 18:49:37 -0300 |
commit | 1e92bbe08ad9fc0d5ec05174c176a9bc54921733 (patch) | |
tree | 116e02636364770b59657f5a3e73c387a9bb96b8 /drivers/media/dvb-core/dmxdev.c | |
parent | 28cff82ce2811a15bbaa4e978c64a231ddc71880 (diff) | |
download | linux-1e92bbe08ad9fc0d5ec05174c176a9bc54921733.tar.gz linux-1e92bbe08ad9fc0d5ec05174c176a9bc54921733.tar.bz2 linux-1e92bbe08ad9fc0d5ec05174c176a9bc54921733.zip |
[media] dvb: don't keep support for undocumented features
There are two DVB demux callbacks and ioctls that aren't documented
and aren't used at all by the DVB core or by any DVB driver upstream.
Let's comment out the code for those two ioctls and remove on some
future version.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-core/dmxdev.c')
-rw-r--r-- | drivers/media/dvb-core/dmxdev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c index d0e3f9d85f34..86a987ef13e1 100644 --- a/drivers/media/dvb-core/dmxdev.c +++ b/drivers/media/dvb-core/dmxdev.c @@ -1023,6 +1023,9 @@ static int dvb_demux_do_ioctl(struct file *file, dmxdev->demux->get_pes_pids(dmxdev->demux, parg); break; +#if 0 + /* Not used upstream and never documented */ + case DMX_GET_CAPS: if (!dmxdev->demux->get_caps) { ret = -EINVAL; @@ -1038,6 +1041,7 @@ static int dvb_demux_do_ioctl(struct file *file, } ret = dmxdev->demux->set_source(dmxdev->demux, parg); break; +#endif case DMX_GET_STC: if (!dmxdev->demux->get_stc) { |