]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: em28xx: remove unneeded null checks
authorDan Carpenter <error27@gmail.com>
Sat, 22 May 2010 19:53:27 +0000 (16:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Jun 2010 04:23:23 +0000 (01:23 -0300)
commit6d10363f606d71bd220e87cf9a0cac557e40513e
tree017dc1077acccca0851ce2ccacc2b0af6430c80e
parent918053d823655a6b9015624dba15387adde7d977
V4L/DVB: em28xx: remove unneeded null checks

The "dev" variable is used as a list cursor in a list_for_each_entry()
loop and can never be null here so I removed the check.

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