media: videodev2: get rid of VIDIOC_RESERVED
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 30 May 2018 15:07:05 +0000 (11:07 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Jul 2018 14:23:34 +0000 (10:23 -0400)
While this ioctl is there at least since Kernel 2.6.12-rc2, it
was never used by any upstream driver.

Get rid of it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/videodev2.h.rst.exceptions
include/uapi/linux/videodev2.h

index a5cb0a8..ca9f0ed 100644 (file)
@@ -517,7 +517,6 @@ ignore define V4L2_CTRL_WHICH_DEF_VAL
 ignore define V4L2_OUT_CAP_CUSTOM_TIMINGS
 ignore define V4L2_CID_MAX_CTRLS
 
-ignore ioctl VIDIOC_RESERVED
 ignore define BASE_VIDIOC_PRIVATE
 
 # Associate ioctls with their counterparts
index 3ea8097..d8b3309 100644 (file)
@@ -2311,7 +2311,6 @@ struct v4l2_create_buffers {
  *
  */
 #define VIDIOC_QUERYCAP                 _IOR('V',  0, struct v4l2_capability)
-#define VIDIOC_RESERVED                  _IO('V',  1)
 #define VIDIOC_ENUM_FMT         _IOWR('V',  2, struct v4l2_fmtdesc)
 #define VIDIOC_G_FMT           _IOWR('V',  4, struct v4l2_format)
 #define VIDIOC_S_FMT           _IOWR('V',  5, struct v4l2_format)