]> git.baikalelectronics.ru Git - kernel.git/commit
wireless, orinoco: release_firmware() tests for NULL, remove explicit tests before...
authorJesper Juhl <jj@chaosbits.net>
Mon, 9 Apr 2012 20:51:19 +0000 (22:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Apr 2012 19:06:08 +0000 (15:06 -0400)
commit7d9d327e50e60c68bb20ee738bf66dee0470d6e3
tree5a698d1f0d9eacae81e0447caa04a73eb9b75010
parent60a40858399a256c3b2e6b41f415e6080c3a6623
wireless, orinoco: release_firmware() tests for NULL, remove explicit tests before calls

It is redundant to test for NULL pointers before calling
release_firmware() since the function does its own NULL test.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/fw.c