ata: remove unused helper ata_id_flush_ext_enabled()
authorNiklas Cassel <niklas.cassel@wdc.com>
Tue, 18 Oct 2022 19:10:54 +0000 (21:10 +0200)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 20 Oct 2022 22:55:44 +0000 (07:55 +0900)
commit90c313d353051c0eb5f6bbcb4b0f4cc0242f030c
treee8adec8ecfed274bef2d22b9b4f7a2e904804134
parent73eb5507fa5f86cd1b4e1a75348ff2e0d620c662
ata: remove unused helper ata_id_flush_ext_enabled()

Not only is this function unused, but even worse, the bit it is checking
is actually used for signaling if the feature is supported, not enabled.
Therefore, remove the unused helper function ata_id_flush_ext_enabled().

ata_id_has_flush_ext() is left unmodified, since this extra supported bit
(Bit 13 of word 86) is simply a copy of the bit that ata_id_has_flush_ext()
already checks (Bit 13 of word 83), see ACS-5 r10:
7.13.6.41 Words 85..87, 120: Commands and feature sets supported or enabled

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
include/linux/ata.h