diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-08-28 13:10:28 +0900 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-10-03 09:39:50 +0900 |
commit | 1b947279798fd51bef46e8241102f5b896add021 (patch) | |
tree | 7617040df32b9e58ebf43a176a5a6d863081825a /drivers/ata/ahci.c | |
parent | 0fecb50891aa8731f39c65ab59c3f5d3cf2ce468 (diff) | |
download | linux-1b947279798fd51bef46e8241102f5b896add021.tar.gz linux-1b947279798fd51bef46e8241102f5b896add021.tar.bz2 linux-1b947279798fd51bef46e8241102f5b896add021.zip |
ata: libata: Cleanup inline DMA helper functions
Simplify the inline DMA helper functions ata_using_mwdma(),
ata_using_udma() and ata_dma_enabled() to directly return as a boolean
the result of their test condition.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions