diff options
author | Damien Le Moal <[email protected]> | 2023-06-05 08:16:32 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2023-06-05 21:33:47 +0900 |
commit | 12980c1f2f8a926dd634e27c700014b3246a99ec (patch) | |
tree | d15293ff704acb0bf6cea28c439c9900d335c088 /tools/testing/selftests/bpf/progs/test_autoload.c | |
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: John Garry <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions