mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
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>
This commit is contained in:
parent
83414d528d
commit
2add5f4661
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user