[media] V4L: mx1-camera: fix uninitialized variable
authorAndre Bartke <andre.bartke@gmail.com>
Fri, 10 Jun 2011 10:57:54 +0000 (07:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 18:51:34 +0000 (15:51 -0300)
commit258c05637d6b6df2478a2808a3d2350c3c6782d6
treede8712eccba08ddb0c1c3622e5fcd977946a1551
parent383e4f69879d11c86ebdd38b3356f6d0690fb4cc
[media] V4L: mx1-camera: fix uninitialized variable

mx1_camera_add_device() can return an uninitialized value of ret.

Signed-off-by: Andre Bartke <andre.bartke@gmail.com>
[g.liakhovetski@gmx.de: modified the fix to remove "ret" completely]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx1_camera.c