[zaptel-commits] russell: branch 1.4 r2980 - /branches/1.4/wctdm24xxp/base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Aug 30 12:18:22 CDT 2007


Author: russell
Date: Thu Aug 30 12:18:22 2007
New Revision: 2980

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2980
Log:
remove an unnecessary memset of the global ifaces array on module init

Modified:
    branches/1.4/wctdm24xxp/base.c

Modified: branches/1.4/wctdm24xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wctdm24xxp/base.c?view=diff&rev=2980&r1=2979&r2=2980
==============================================================================
--- branches/1.4/wctdm24xxp/base.c (original)
+++ branches/1.4/wctdm24xxp/base.c Thu Aug 30 12:18:22 2007
@@ -4167,8 +4167,6 @@
 		return -ENODEV;
 	}
 
-	memset((void *)ifaces,0,(sizeof(struct wctdm *))*WC_MAX_IFACES);
-
 	res = zap_pci_module(&wctdm_driver);
 	if (res)
 		return -ENODEV;




More information about the zaptel-commits mailing list