Skip to contentSkip to conversation

bttv: struct member initialized twice

PATCH New Harvey Harrison 1 participant 1 message Feb 19, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bttv: struct member initialized twice

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

---
 drivers/media/video/bt8xx/bttv-driver.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/media/video/bt8xx/bttv-driver.c +0 -1
index 5404fcc..a080c14 100644
@@ -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,
Signature · 1 line
1.5.4.2.200.g99e75