提交 294ca868 编写于 作者: J Jesper Juhl 提交者: Jiri Kosina

bna: remove redundant NULL test before release_firmware()

release_firmware() does its own NULL test so explicit test before call
is unneeded.
Signed-off-by: NJesper Juhl <jj@chaosbits.net>
Acked-by: NRasesh Mody <rmody@brocade.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 e3c5530b
......@@ -3546,8 +3546,6 @@ static void __exit
bnad_module_exit(void)
{
pci_unregister_driver(&bnad_pci_driver);
if (bfi_fw)
release_firmware(bfi_fw);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册