diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-06-05 08:16:32 +0900 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-06-05 21:33:47 +0900 |
commit | 12980c1f2f8a926dd634e27c700014b3246a99ec (patch) | |
tree | d15293ff704acb0bf6cea28c439c9900d335c088 /scripts/rust_is_available_test.py | |
parent | 45623d33bfc055d8a9d53eded5dc9c1c977036ed (diff) |
ata: libata-eh: Use ata_ncq_enabled() in ata_eh_speed_down()
In ata_eh_speed_down(), instead of hard-coding the test on the device
flags to detect if NCQ is supported and enabled, use ata_ncq_enabled().
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Diffstat (limited to 'scripts/rust_is_available_test.py')
0 files changed, 0 insertions, 0 deletions