diff options
author | Brian Norris <briannorris@chromium.org> | 2017-05-12 18:42:07 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-19 08:01:58 +0200 |
commit | fa4651e12ae8ac1b691cee9d0cd6554a934428b7 (patch) | |
tree | 4447f4775623028fa867cf1464b1e7a2df8e12ee | |
parent | mwifiex: 11h: drop unnecessary check for '!priv' (diff) | |
download | linux-fa4651e12ae8ac1b691cee9d0cd6554a934428b7.tar.xz linux-fa4651e12ae8ac1b691cee9d0cd6554a934428b7.zip |
mwifiex: pcie: remove useless pdev check
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/pcie.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c index 8729809aa248..be5050a536e1 100644 --- a/drivers/net/wireless/marvell/mwifiex/pcie.c +++ b/drivers/net/wireless/marvell/mwifiex/pcie.c @@ -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) { |