mwifiex: pcie: remove useless pdev check
Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
7ade530e73
commit
fa4651e12a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue