]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (11205): pvrusb2: Remove ancient IVTV specific ioctl functions
authorMike Isely <isely@pobox.com>
Sun, 8 Mar 2009 22:14:07 +0000 (19:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:39 +0000 (12:43 -0300)
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.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c

index b7caf135ed5572dba4977f02fcf072f04fb80677..9e0f2b07b93b277bed1123220b77eeb222956a02 100644 (file)
@@ -952,10 +952,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);
 }