summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/storvsc_drv.c
diff options
context:
space:
mode:
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>2017-02-10 09:59:27 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-13 13:26:22 +0100
commitcf4e55e7be0a4c009908803ff4c3140c9822c033 (patch)
tree44709eebb5e4bd98726ba9f1d87dd7aaea727dfc /drivers/scsi/storvsc_drv.c
parentscsi: megaraid_sas: update can_queue only if the new value is less (diff)
downloadlinux-cf4e55e7be0a4c009908803ff4c3140c9822c033.tar.xz
linux-cf4e55e7be0a4c009908803ff4c3140c9822c033.zip
scsi: megaraid_sas: max_fw_cmds are decremented twice, remove duplicate
Fix to account for the reply_q_sz not exceeding the maximum commands that the firmware can support, instance->max_fw_cmds is already decremented in megasas_fusion_update_can_queue(). Remove the extra decrement logic in code. Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/storvsc_drv.c')
0 files changed, 0 insertions, 0 deletions