summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thunderbolt/eeprom.c')
-rw-r--r--drivers/thunderbolt/eeprom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c
index 2366406e49ac..ee5196479854 100644
--- a/drivers/thunderbolt/eeprom.c
+++ b/drivers/thunderbolt/eeprom.c
@@ -525,10 +525,6 @@ int tb_drom_read(struct tb_switch *sw)
525 sw->ports[3].dual_link_port = &sw->ports[4]; 525 sw->ports[3].dual_link_port = &sw->ports[4];
526 sw->ports[4].dual_link_port = &sw->ports[3]; 526 sw->ports[4].dual_link_port = &sw->ports[3];
527 527
528 /* Port 5 is inaccessible on this gen 1 controller */
529 if (sw->config.device_id == PCI_DEVICE_ID_INTEL_LIGHT_RIDGE)
530 sw->ports[5].disabled = true;
531
532 return 0; 528 return 0;
533 } 529 }
534 530