[zaptel-commits] sruffell: branch 1.4 r4506 - /branches/1.4/kernel/wctc4xxp/base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Mon Aug 25 09:53:56 CDT 2008


Author: sruffell
Date: Mon Aug 25 09:53:56 2008
New Revision: 4506

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4506
Log:
Remove this warning, which could occur if the driver is loaded on a system
without a wctc4xxp, and then subsequently unloaded.

Modified:
    branches/1.4/kernel/wctc4xxp/base.c

Modified: branches/1.4/kernel/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/wctc4xxp/base.c?view=diff&rev=4506&r1=4505&r2=4506
==============================================================================
--- branches/1.4/kernel/wctc4xxp/base.c (original)
+++ branches/1.4/kernel/wctc4xxp/base.c Mon Aug 25 09:53:56 2008
@@ -3264,7 +3264,6 @@
 
 void __exit wctc4xxp_cleanup(void)
 {
-	WARN_ON(!list_empty(&wctc4xxp_list));
 	pci_unregister_driver(&wctc4xxp_driver);
 	kmem_cache_destroy(cmd_cache);
 }




More information about the zaptel-commits mailing list