]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: dvb/stv6110x: cleanup error handling
authorDan Carpenter <error27@gmail.com>
Wed, 5 May 2010 05:58:18 +0000 (02:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:12 +0000 (12:59 -0300)
commite8f6a3919cb475057029f1f45a7d070a06edd691
tree80201751f647f21651553de310ddd295b0202941
parentda881aa0c2712cfee5d0dae47cf9ff739ee040be
V4L/DVB: dvb/stv6110x: cleanup error handling

The "stv6110x" is NULL so we can just return directly without calling
kfree().  Also I changed the printk() to make checkpatch.pl happy.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv6110x.c