scsi: mpt3sas: Again output non-intel branding

Message ID 0d7a6df3210f114db1caba414b2fb9c864ee8612.1610475094.git.joe@perches.com
State New
Headers show
Series
  • scsi: mpt3sas: Again output non-intel branding
Related show

Commit Message

Joe Perches Jan. 12, 2021, 6:14 p.m.
commit 989e43c7ec34 ("mpt3sas: Added OEM Gen2 PnP ID branding names")
consolidated individual functions for OEM branding into a single function
but left a test for intel only at the top so no other vendor branding
was output.  Remove the test.

Signed-off-by: Joe Perches <joe@perches.com>
---

If no one noticed in the last 5 years, maybe the whole branding output
should be deleted instead...

 drivers/scsi/mpt3sas/mpt3sas_base.c | 3 ---
 1 file changed, 3 deletions(-)

Patch

diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 1ffed396d91f..2faea35806b2 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -4195,9 +4195,6 @@  _base_display_OEMs_branding(struct MPT3SAS_ADAPTER *ioc)
 	const char *b = NULL;	/* brand */
 	const char *v = NULL;	/* vendor */
 
-	if (ioc->pdev->subsystem_vendor != PCI_VENDOR_ID_INTEL)
-		return;
-
 	switch (ioc->pdev->subsystem_vendor) {
 	case PCI_VENDOR_ID_INTEL:
 		switch (ioc->pdev->device) {