]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s2255drv: Remove redundant NULL test before release_firmware()
authorJesper Juhl <jj@chaosbits.net>
Mon, 9 Apr 2012 19:50:04 +0000 (16:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 12:09:58 +0000 (09:09 -0300)
commit02154aa88d0a0f6618aeb39d954024b07ee0e97a
tree9295a176435e641643b5703b6272df75b1ad36b1
parentbb540a188e6942cbcec7a68567bc3a56aba3eeab
[media] s2255drv: Remove redundant NULL test before release_firmware()

release_firmware() tests for NULL pointers on its own - there's no
reason to do an explicit check before calling the function.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s2255drv.c