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

Commit fa4651e1 authored by Brian Norris's avatar Brian Norris Committed by Kalle Valo
Browse files

mwifiex: pcie: remove useless pdev check

parent 7ade530e
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2380,11 +2380,6 @@ static irqreturn_t mwifiex_pcie_interrupt(int irq, void *context)
	struct pcie_service_card *card;
	struct mwifiex_adapter *adapter;

	if (!pdev) {
		pr_err("info: %s: pdev is NULL\n", __func__);
		goto exit;
	}

	card = pci_get_drvdata(pdev);

	if (!card->adapter) {