diff options
Diffstat (limited to 'drivers/scsi/pm8001')
-rw-r--r-- | drivers/scsi/pm8001/pm8001_hwi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c index 909c00ec044f..5ff8261c5d67 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.c +++ b/drivers/scsi/pm8001/pm8001_hwi.c | |||
@@ -4390,7 +4390,6 @@ pm8001_chip_fw_flash_update_req(struct pm8001_hba_info *pm8001_ha, | |||
4390 | return -ENOMEM; | 4390 | return -ENOMEM; |
4391 | } | 4391 | } |
4392 | } | 4392 | } |
4393 | memset(buffer, 0, fw_control->len); | ||
4394 | memcpy(buffer, fw_control->buffer, fw_control->len); | 4393 | memcpy(buffer, fw_control->buffer, fw_control->len); |
4395 | flash_update_info.sgl.addr = cpu_to_le64(phys_addr); | 4394 | flash_update_info.sgl.addr = cpu_to_le64(phys_addr); |
4396 | flash_update_info.sgl.im_len.len = cpu_to_le32(fw_control->len); | 4395 | flash_update_info.sgl.im_len.len = cpu_to_le32(fw_control->len); |