diff options
author | John Garry <john.garry@huawei.com> | 2021-01-26 19:04:25 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-26 23:02:11 -0500 |
commit | 69bfa5fd7b448b2cd0cce6a301cf3fba8133ca0f (patch) | |
tree | 436a1e6d853cbf1169d1128ed0c1b2b687f9a81e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4d287d8bae1f395b5e5d79bc9673dacab7975e36 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions