diff options
-rw-r--r-- | com32/lib/pci/scan.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/com32/lib/pci/scan.c b/com32/lib/pci/scan.c index 55b178dd..1719899e 100644 --- a/com32/lib/pci/scan.c +++ b/com32/lib/pci/scan.c @@ -112,7 +112,6 @@ int get_module_name_from_pcimap(struct pci_domain *domain, strcpy(product_id,"0000"); strcpy(sub_product_id,"0000"); strcpy(sub_vendor_id,"0000"); - dev->dev_info->linux_kernel_module_count=0; /* for each line we found in the modules.pcimap */ while ( fgets(line, sizeof line, f) ) { @@ -633,8 +632,6 @@ int get_module_name_from_alias(struct pci_domain *domain, char *modules_alias_pa if (!f) return -ENOMODULESALIAS; - dev->dev_info->linux_kernel_module_count=0; - /* for each line we found in the modules.pcimap */ while ( fgets(line, sizeof line, f) ) { /* skipping unecessary lines */ |