From f1138fda1b0db43ff63d19923f8e84951c0c4d1c Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Fri, 24 Mar 2023 18:30:00 +0200 Subject: [PATCH] thunderbolt: Drop retimer vendor check This is not needed anymore as we already handle unknown vendor in NVM functions. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/retimer.c | 6 ------ 1 file changed, 6 deletions(-) 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.