Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d34722b6 authored by jiad's avatar jiad
Browse files

cnss2: Remove 0 MSI data check



MSI data 0 shall be valid after pci_alloc_irq_vectors() and
irq_get_msi_desc() return successful. Thus remove the 0 MSI
data check.

Change-Id: I5596a76353050a67104a35a2d44d957ae600fd85
Signed-off-by: default avatarjiad <jiad@codeaurora.org>
parent ee2ba4e3
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1713,11 +1713,6 @@ static int cnss_pci_enable_msi(struct cnss_pci_data *pci_priv)
	}

	pci_priv->msi_ep_base_data = msi_desc->msg.data;
	if (!pci_priv->msi_ep_base_data) {
		cnss_pr_err("Got 0 MSI base data!\n");
		CNSS_ASSERT(0);
	}

	cnss_pr_dbg("MSI base data is %d\n", pci_priv->msi_ep_base_data);

	return 0;