remoteproc: remove redundant NULL check before release_firmware()
authorJesper Juhl <jj@chaosbits.net>
Mon, 9 Apr 2012 20:51:25 +0000 (22:51 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Apr 2012 11:24:45 +0000 (13:24 +0200)
commit3cc6e78777ae6f577b67e26c76577ef357ac9009
tree8cccce48bed67565582171f8946ff877599f386e
parentcf92549f1c95e0b1fd980828c35416dc2e548d2b
remoteproc: remove redundant NULL check before release_firmware()

release_firmware deals gracefully with NULL pointers, so checking
first is redundant.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/remoteproc/remoteproc_core.c