[media] vivid: Don't declare .vidioc_overlay twice
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 2 Sep 2014 20:58:59 +0000 (17:58 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 2 Sep 2014 20:58:59 +0000 (17:58 -0300)
Removes the following warnings:

drivers/media/platform/vivid/vivid-core.c:581:2: warning: initialized field overwritten [-Woverride-init]
  .vidioc_overlay   = vidioc_overlay,
  ^
drivers/media/platform/vivid/vivid-core.c:581:2: warning: (near initialization for 'vivid_ioctl_ops.vidioc_overlay') [-Woverride-init]

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vivid/vivid-core.c

index 708b053..fb3b0aa 100644 (file)
@@ -578,7 +578,6 @@ static const struct v4l2_ioctl_ops vivid_ioctl_ops = {
        .vidioc_g_fmt_vid_out_overlay   = vidioc_g_fmt_vid_out_overlay,
        .vidioc_try_fmt_vid_out_overlay = vidioc_try_fmt_vid_out_overlay,
        .vidioc_s_fmt_vid_out_overlay   = vidioc_s_fmt_vid_out_overlay,
-       .vidioc_overlay                 = vidioc_overlay,
        .vidioc_g_fbuf                  = vidioc_g_fbuf,
        .vidioc_s_fbuf                  = vidioc_s_fbuf,