From: Devendra Naga Date: Mon, 9 Jul 2012 17:34:18 +0000 (+0530) Subject: staging/slicoss: remove not-needed ASSERT X-Git-Tag: v3.6-rc1~100^2~338 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2add5f4661ce822fe16afabf925a0133d6b274fb;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Greg Kroah-Hartman --- 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);