]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13941): rj54n1cb0c: remove compiler warning
authorMárton Németh <nm127@freemail.hu>
Sat, 9 Jan 2010 23:45:59 +0000 (20:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:31:37 +0000 (11:31 -0200)
commit562231cd8e954baebf9789c7f847368b7db3c8f1
tree8f72baa022766527c2ef776959d3f7f777d62c62
parentccd20cf6f49712ba7ad48b9b7006ca6fa231ccce
V4L/DVB (13941): rj54n1cb0c: remove compiler warning

Remove the following compiler warning: 'dummy' is used uninitialized in this function.
Although the result in the dummy variable is not used the program flow in
soc_camera_limit_side() depends on the value in dummy. The program flow is better
to be deterministic.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/rj54n1cb0c.c