Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640590 > unrolled thread

[PATCH 10/11] mwifiex: pcie: remove useless pdev check

Started byBrian Norris <briannorris@chromium.org>
First post2017-05-12 18:50 +0200
Last post2017-05-12 18:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 10/11] mwifiex: pcie: remove useless pdev check Brian Norris <briannorris@chromium.org> - 2017-05-12 18:50 +0200

#1640590 — [PATCH 10/11] mwifiex: pcie: remove useless pdev check

FromBrian Norris <briannorris@chromium.org>
Date2017-05-12 18:50 +0200
Subject[PATCH 10/11] mwifiex: pcie: remove useless pdev check
Message-ID<tGlVo-7jv-41@gated-at.bofh.it>
Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 drivers/net/wireless/marvell/mwifiex/pcie.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c
index ac62bce50e96..d7e563a622f7 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) {
-- 
2.13.0.rc2.291.g57267f2277-goog

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web