From: Hans Verkuil Date: Sat, 2 May 2009 11:12:36 +0000 (-0300) Subject: V4L/DVB (11669): uvc: fix compile warning X-Git-Tag: linux-omap-v2.6.30-rc6~47^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7564f67d5b38eb814e67edd8ba0c70fd8eb475b6;p=pandora-kernel.git V4L/DVB (11669): uvc: fix compile warning The 2.6.30 kernel generates this warning: uvc_driver.c:1729: warning: 'ret' may be used uninitialized in this function I guess some new warning flag must have been turned on since this warning didn't appear with older kernels (gcc version 4.3.1). It's also a bogus warning, but since this code didn't comply to the coding standard anyway I've modified it to 1) remove the warning and 2) conform to the coding standard. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed