diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-03-24 17:30:00 +0100 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-05-24 08:39:35 +0200 |
commit | f1138fda1b0db43ff63d19923f8e84951c0c4d1c (patch) | |
tree | edf5d73bcc6c8c4cc696bc67f15ba2a45616f77f | |
parent | thunderbolt: dma_test: Update MODULE_DESCRIPTION (diff) | |
download | linux-f1138fda1b0db43ff63d19923f8e84951c0c4d1c.tar.xz linux-f1138fda1b0db43ff63d19923f8e84951c0c4d1c.zip |
thunderbolt: Drop retimer vendor check
This is not needed anymore as we already handle unknown vendor in NVM
functions.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
-rw-r--r-- | drivers/thunderbolt/retimer.c | 6 |
1 files changed, 0 insertions, 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. |