ata: remove unused helper ata_id_lba48_enabled()
authorNiklas Cassel <niklas.cassel@wdc.com>
Tue, 18 Oct 2022 19:10:52 +0000 (21:10 +0200)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 20 Oct 2022 22:55:40 +0000 (07:55 +0900)
commit67776a9ee69512b144250f1b9fbce4db76c0f3f8
tree74a6827a5566f08666fdbac592fd09041edea418
parent5122e53ee784b9a2a2f40d34222751b6b4ab076c
ata: remove unused helper ata_id_lba48_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_lba48_enabled().

ata_id_has_lba48() is left unmodified, since this extra supported bit
(Bit 10 of word 86) is simply a copy of the bit that ata_id_has_lba48()
already checks (Bit 10 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