]> git.baikalelectronics.ru Git - kernel.git/commit
[media] staging: as102: Remove redundant NULL check before release_firmware() and...
authorJesper Juhl <jj@chaosbits.net>
Mon, 9 Apr 2012 19:51:48 +0000 (16:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 12:09:13 +0000 (09:09 -0300)
commite3baa2bcef4b64cdf9ff368a6c1160519fd867be
tree9b169079f0e4a2a8bfbc641f44f48ac6e085edd5
parent3d50e589619a55abd82a2df849d15484c3646427
[media] staging: as102: Remove redundant NULL check before release_firmware() and pointless comments

release_firmware() deals gracefullt with NULL pointers - it's
redundant to check for them before calling the function.

Also remove a few pointless comments - it's rather obvious from the
code that kfree() free's a buffer and that release_firmware() releases
firmware - comments just stating that add no value.

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