V4L/DVB (13522): valj5jf8007s/t: fix compile warnings
commit289a774bf53b366393e51b4f512b610bfb5fdd9d
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 25 Nov 2009 21:42:42 +0000 (25 18:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:15 +0000 (5 18:42 -0200)
tree2cf827ef0664a3335c4210d53f132e3793f38308
parent516e24d78feb4dded16df0053bd0e7c7f68fafa2
V4L/DVB (13522): valj5jf8007s/t: fix compile warnings

Trivial fix for these bogus compile warnings:

v4l/va1j5jf8007s.c: In function 'va1j5jf8007s_tune':
v4l/va1j5jf8007s.c:394: warning: 'lock' may be used uninitialized in this function
v4l/va1j5jf8007t.c: In function 'va1j5jf8007t_tune':
v4l/va1j5jf8007t.c:273: warning: 'lock' may be used uninitialized in this function
v4l/va1j5jf8007t.c:273: warning: 'retry' may be used uninitialized in this function

These variables are never used uninitialized, but the compiler couldn't
figure that out unfortunately.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/pt1/va1j5jf8007s.c
drivers/media/dvb/pt1/va1j5jf8007t.c