mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
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: Jesper Juhl <jj@chaosbits.net> Acked-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
e3c5530b96
commit
294ca868ed
@ -3546,8 +3546,6 @@ static void __exit
|
||||
bnad_module_exit(void)
|
||||
{
|
||||
pci_unregister_driver(&bnad_pci_driver);
|
||||
|
||||
if (bfi_fw)
|
||||
release_firmware(bfi_fw);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user