[media] tm6000: fix an uninitialized variable
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 7 Feb 2013 10:05:43 +0000 (07:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 19:30:53 +0000 (17:30 -0200)
tm6000_poll could use an uninitialized buf pointer. Move the buf-handling
code inside the 'if' that initializes the buf pointer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found