summaryrefslogtreecommitdiffstats
path: root/drivers/staging/slicoss
diff options
context:
space:
mode:
authorDevendra Naga2012-07-09 19:34:18 +0200
committerGreg Kroah-Hartman2012-07-09 22:06:21 +0200
commit2add5f4661ce822fe16afabf925a0133d6b274fb (patch)
tree7d582150dac6975ce9cc36047ab279b65eeae884 /drivers/staging/slicoss
parentstaging "speakup" Fix typos. (diff)
downloadkernel-qcow2-linux-2add5f4661ce822fe16afabf925a0133d6b274fb.tar.gz
kernel-qcow2-linux-2add5f4661ce822fe16afabf925a0133d6b274fb.tar.xz
kernel-qcow2-linux-2add5f4661ce822fe16afabf925a0133d6b274fb.zip
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@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/slicoss')
-rw-r--r--drivers/staging/slicoss/slicoss.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index d2b82a78d2af..a511a2be9c70 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);