diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index a2f999273a5f..91b6fe6000eb 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -4106,8 +4106,7 @@ qla2x00_release_firmware(void) | |||
4106 | 4106 | ||
4107 | mutex_lock(&qla_fw_lock); | 4107 | mutex_lock(&qla_fw_lock); |
4108 | for (idx = 0; idx < FW_BLOBS; idx++) | 4108 | for (idx = 0; idx < FW_BLOBS; idx++) |
4109 | if (qla_fw_blobs[idx].fw) | 4109 | release_firmware(qla_fw_blobs[idx].fw); |
4110 | release_firmware(qla_fw_blobs[idx].fw); | ||
4111 | mutex_unlock(&qla_fw_lock); | 4110 | mutex_unlock(&qla_fw_lock); |
4112 | } | 4111 | } |
4113 | 4112 | ||