V4L/DVB: ov511: cleanup: remove unneeded null check
authorDan Carpenter <error27@gmail.com>
Wed, 5 May 2010 05:59:48 +0000 (02:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:13 +0000 (12:59 -0300)
commitb9245d80c375b93db79475ca231276e1fa5a7649
treee0647a8c551ca982be1df56d07ca1b3d689d158b
parent16ee9bb100340f9f775ab334acb645f54642f312
V4L/DVB: ov511: cleanup: remove unneeded null check

We dereference "ov" unconditionally throughout the function so there is
no way it can be NULL here.  This code has been around for ages so if
it were possible for "ov" to be NULL someone would have complained.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ov511.c