mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-09 20:46:44 +07:00
ipw2200: remove a redundant NULL check before calling release_firmware()
The release_firmware() function does its own NULL test, so testing before calling it is rather redundant. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
740330254e
commit
d144f536e3
@ -3657,8 +3657,7 @@ static int ipw_load(struct ipw_priv *priv)
|
||||
priv->rxq = NULL;
|
||||
}
|
||||
ipw_tx_queue_free(priv);
|
||||
if (raw)
|
||||
release_firmware(raw);
|
||||
release_firmware(raw);
|
||||
#ifdef CONFIG_PM
|
||||
fw_loaded = 0;
|
||||
raw = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user