diff mbox series

[7/7] thunderbolt: Drop retimer vendor check

Message ID 20230517084103.45213-7-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted
Commit f1138fda1b0db43ff63d19923f8e84951c0c4d1c
Headers show
Series [1/7] thunderbolt: Check for ring 0 in tb_tunnel_alloc_dma() | expand

Commit Message

Mika Westerberg May 17, 2023, 8:41 a.m. UTC
This is not needed anymore as we already handle unknown vendor in NVM
functions.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/retimer.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/drivers/thunderbolt/retimer.c b/drivers/thunderbolt/retimer.c
index 9cc28197dbc4..ccc2f0e7adba 100644
--- a/drivers/thunderbolt/retimer.c
+++ b/drivers/thunderbolt/retimer.c
@@ -341,12 +341,6 @@  static int tb_retimer_add(struct tb_port *port, u8 index, u32 auth_status)
 		return ret;
 	}
 
-	if (vendor != PCI_VENDOR_ID_INTEL && vendor != 0x8087) {
-		tb_port_info(port, "retimer NVM format of vendor %#x is not supported\n",
-			     vendor);
-		return -EOPNOTSUPP;
-	}
-
 	/*
 	 * Check that it supports NVM operations. If not then don't add
 	 * the device at all.