diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-08-30 17:03:42 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-08-30 17:03:42 +0000 |
commit | 09b7fffbcfda5b96b9295ea997af1db3db116b77 (patch) | |
tree | 0aa58a2cc9314cb6de0197060845fd6267d2cf77 | |
parent | c3a65c590377c65221b814badf872f139ffe5e89 (diff) |
Merged revisions 2977 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4
........
r2977 | russell | 2007-08-30 12:02:02 -0500 (Thu, 30 Aug 2007) | 4 lines
Remove some code that could never be executed. Instead of fixing the if statement,
I just removed it. The contents of this global array are guaranteed to be zeroed
out for us on load.
........
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2978 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r-- | wctdm.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -2247,12 +2247,7 @@ static int __devinit wctdm_init_one(struct pci_dev *pdev, const struct pci_devic struct wctdm_desc *d = (struct wctdm_desc *)ent->driver_data; int x; int y; - static int initd_ifaces=0; - if(initd_ifaces){ - memset((void *)ifaces,0,(sizeof(struct wctdm *))*WC_MAX_IFACES); - initd_ifaces=1; - } for (x=0;x<WC_MAX_IFACES;x++) if (!ifaces[x]) break; if (x >= WC_MAX_IFACES) { |