[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1341855260-9037-1-git-send-email-devendra.aaru@gmail.com>
Date: Mon, 9 Jul 2012 23:04:18 +0530
From: Devendra Naga <devendra.aaru@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lior Dotan <liodot@...il.com>,
Christopher Harrer <charrer@...critech.com>,
linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org
Cc: Devendra Naga <devendra.aaru@...il.com>
Subject: [PATCH 1/3] staging/slicoss: remove not-needed ASSERT
As the private pointer is valid at the remove of driver, and remove wont' be called if probe fails, so no point for checking of ASSERT
Signed-off-by: Devendra Naga <devendra.aaru@...il.com>
---
drivers/staging/slicoss/slicoss.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index d2b82a7..a511a2b 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -3196,7 +3196,6 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev)
struct sliccard *card;
struct mcast_address *mcaddr, *mlist;
- ASSERT(adapter);
slic_adapter_freeresources(adapter);
slic_unmap_mmio_space(adapter);
unregister_netdev(dev);
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists