V4L/DVB (7236): bttv: struct member initialized twice
authorHarvey Harrison <harvey.harrison@gmail.com>
Sat, 23 Feb 2008 10:29:16 +0000 (07:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 20 Mar 2008 15:38:57 +0000 (12:38 -0300)
fixes sparse warning:
drivers/media/video/bt8xx/bttv-driver.c:3391:3: warning: Initializer entry defined twice
drivers/media/video/bt8xx/bttv-driver.c:3392:3:   also defined here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c

index 5404fcc..a080c14 100644 (file)
@@ -3389,7 +3389,6 @@ static struct video_device bttv_video_template =
        .vidiocgmbuf                    = vidiocgmbuf,
 #endif
        .vidioc_g_crop                  = bttv_g_crop,
-       .vidioc_g_crop                  = bttv_g_crop,
        .vidioc_s_crop                  = bttv_s_crop,
        .vidioc_g_fbuf                  = bttv_g_fbuf,
        .vidioc_s_fbuf                  = bttv_s_fbuf,