drivers/media/platform/omap/omap_vout.c: In function ‘omapvid_init’: drivers/media/platform/omap/omap_vout.c:380:17: warning: ‘mode’ may be used uninitialized in this function [-Wuninitialized] drivers/media/platform/omap/omap_vout.c:330:23: note: ‘mode’ was declared here this issue was raised in May 2012 already (http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/48617) Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx> Cc: Vaibhav Hiremath <hvaibhav@xxxxxx> --- drivers/media/platform/omap/omap_vout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/omap/omap_vout.c index 35cc526..0266ed2 100644 --- a/drivers/media/platform/omap/omap_vout.c +++ b/drivers/media/platform/omap/omap_vout.c @@ -333,8 +333,6 @@ static int video_mode_to_dss_mode(struct omap_vout_device *vout) ovl = ovid->overlays[0]; switch (pix->pixelformat) { - case 0: - break; case V4L2_PIX_FMT_YUYV: mode = OMAP_DSS_COLOR_YUV2; break; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html