summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-xwcfxo.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/wcfxo.c b/wcfxo.c
index abf12b8..8e30e02 100755
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -809,12 +809,7 @@ static int __devinit wcfxo_init_one(struct pci_dev *pdev, const struct pci_devic
struct wcfxo *wc;
struct wcfxo_desc *d = (struct wcfxo_desc *)ent->driver_data;
int x;
- static int initd_ifaces=0;
-
- if(initd_ifaces){
- memset((void *)ifaces,0,(sizeof(struct wcfxo *))*WC_MAX_IFACES);
- initd_ifaces=1;
- }
+
for (x=0;x<WC_MAX_IFACES;x++)
if (!ifaces[x]) break;
if (x >= WC_MAX_IFACES) {