summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-03-08 17:14:07 -0500
committerMike Isely <isely@pobox.com>2009-03-08 17:14:07 -0500
commitcc6c6b33bf652251302178b5e44a35c876a51277 (patch)
tree91d899cab4f1eb770965e1615ce5f563f434ea08 /linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
parent9b919a585341293a2ba14e0cdfad93a7a2342b4f (diff)
downloadmediapointer-dvb-s2-cc6c6b33bf652251302178b5e44a35c876a51277.tar.gz
mediapointer-dvb-s2-cc6c6b33bf652251302178b5e44a35c876a51277.tar.bz2
pvrusb2: Remove ancient IVTV specific ioctl functions
From: Mike Isely <isely@pobox.com> Remove ancient IVTV_IOC_G_CODEC and IVTV_IOC_S_CODEC ioctl functions from the pvrusb2 driver. These are very very old, were non-standard, and were only present to keep MythTV happy (their implementation did nothing except to report success). That was long ago; no recent versions of MythTV should require this anymore. Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index e4bf0278c..c7fc605f8 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -953,10 +953,6 @@ static long pvr2_v4l2_ioctl(struct file *file,
unsigned int cmd, unsigned long arg)
{
-/* Temporary hack : use ivtv api until a v4l2 one is available. */
-#define IVTV_IOC_G_CODEC 0xFFEE7703
-#define IVTV_IOC_S_CODEC 0xFFEE7704
- if (cmd == IVTV_IOC_G_CODEC || cmd == IVTV_IOC_S_CODEC) return 0;
return video_usercopy(file, cmd, arg, pvr2_v4l2_do_ioctl);
}