diff options
author | John Garry <john.garry@huawei.com> | 2021-01-26 14:04:25 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-27 07:02:11 +0300 |
commit | 69bfa5fd7b448b2cd0cce6a301cf3fba8133ca0f (patch) | |
tree | 436a1e6d853cbf1169d1128ed0c1b2b687f9a81e /scripts/gdb/linux/proc.py | |
parent | 4d287d8bae1f395b5e5d79bc9673dacab7975e36 (diff) | |
download | linux-69bfa5fd7b448b2cd0cce6a301cf3fba8133ca0f.tar.xz |
scsi: hisi_sas: Don't check .nr_hw_queues in hisi_sas_task_prep()
Now that v2 and v3 hw expose their HW queues (and so shost.nr_hw_queues is
set), remove the conditional checks in hisi_sas_task_prep().
This change would affect v1 HW performance (as it does not expose HW
queues), but nobody uses it and support may be dropped soon.
Link: https://lore.kernel.org/r/1611659068-131975-3-git-send-email-john.garry@huawei.com
Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions