Skip to content

Commit 8d6cfed

Browse files
committed
ahci: drop unused board_ahci_noncq
Since commit 66a7cbc ("ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks") there is not a single entry in ahci_pci_tbl which uses board_ahci_noncq. Since this is dead code, let's remove it. We cannot remove AHCI_HFLAG_NO_NCQ, as this flag is still used by other boards. Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Signed-off-by: Niklas Cassel <[email protected]>
1 parent bf6f158 commit 8d6cfed

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/ata/ahci.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ enum board_ids {
5252
board_ahci_ign_iferr,
5353
board_ahci_no_debounce_delay,
5454
board_ahci_nomsi,
55-
board_ahci_noncq,
5655
/*
5756
* board_ahci_pcs_quirk is for legacy Intel platforms.
5857
* Modern Intel platforms should use board_ahci instead.
@@ -159,13 +158,6 @@ static const struct ata_port_info ahci_port_info[] = {
159158
.udma_mask = ATA_UDMA6,
160159
.port_ops = &ahci_ops,
161160
},
162-
[board_ahci_noncq] = {
163-
AHCI_HFLAGS (AHCI_HFLAG_NO_NCQ),
164-
.flags = AHCI_FLAG_COMMON,
165-
.pio_mask = ATA_PIO4,
166-
.udma_mask = ATA_UDMA6,
167-
.port_ops = &ahci_ops,
168-
},
169161
[board_ahci_pcs_quirk] = {
170162
AHCI_HFLAGS (AHCI_HFLAG_INTEL_PCS_QUIRK),
171163
.flags = AHCI_FLAG_COMMON,

0 commit comments

Comments
 (0)