radeon_cp: Remove unneeded tests for NULL before calling release_firmware()
authorJesper Juhl <jj@chaosbits.net>
Mon, 9 Apr 2012 20:49:57 +0000 (22:49 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Apr 2012 11:15:31 +0000 (13:15 +0200)
commitc69a6ca1a4e398e7e85cab792ddbd874d9335233
tree644bc66b8acdac1b54bf272bc9a809dc33947b2b
parent42a6bd2006c922143cee8d9ec7c4e27526d4d2a3
radeon_cp: Remove unneeded tests for NULL before calling release_firmware()

release_firmware() does its own tests for NULL pointers so there's no
need to explicitly test before calling it.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/gpu/drm/radeon/radeon_cp.c