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:
Jesper Juhl 2012-04-09 22:51:01 +02:00 committed by John W. Linville
parent 740330254e
commit d144f536e3

View File

@ -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;