diff options
Diffstat (limited to 'drivers/media/video/v4l2-ioctl.c')
-rw-r--r-- | drivers/media/video/v4l2-ioctl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c index 140ef92c19c1..155c9d77a463 100644 --- a/drivers/media/video/v4l2-ioctl.c +++ b/drivers/media/video/v4l2-ioctl.c | |||
@@ -746,18 +746,6 @@ static int __video_do_ioctl(struct inode *inode, struct file *file, | |||
746 | ret = ops->vidioc_enum_fmt_vid_overlay(file, | 746 | ret = ops->vidioc_enum_fmt_vid_overlay(file, |
747 | fh, f); | 747 | fh, f); |
748 | break; | 748 | break; |
749 | #if 1 | ||
750 | /* V4L2_BUF_TYPE_VBI_CAPTURE should not support VIDIOC_ENUM_FMT | ||
751 | * according to the spec. The bttv and saa7134 drivers support | ||
752 | * it though, so just warn that this is deprecated and will be | ||
753 | * removed in the near future. */ | ||
754 | case V4L2_BUF_TYPE_VBI_CAPTURE: | ||
755 | if (ops->vidioc_enum_fmt_vbi_cap) { | ||
756 | printk(KERN_WARNING "vidioc_enum_fmt_vbi_cap will be removed in 2.6.28!\n"); | ||
757 | ret = ops->vidioc_enum_fmt_vbi_cap(file, fh, f); | ||
758 | } | ||
759 | break; | ||
760 | #endif | ||
761 | case V4L2_BUF_TYPE_VIDEO_OUTPUT: | 749 | case V4L2_BUF_TYPE_VIDEO_OUTPUT: |
762 | if (ops->vidioc_enum_fmt_vid_out) | 750 | if (ops->vidioc_enum_fmt_vid_out) |
763 | ret = ops->vidioc_enum_fmt_vid_out(file, fh, f); | 751 | ret = ops->vidioc_enum_fmt_vid_out(file, fh, f); |