Show
Ignore:
Timestamp:
11/09/09 09:44:58 (3 years ago)
Author:
Erwan Velu <erwan.velu@…>
Children:
f85c63bf65cebe98025022e56fbbdb95310b574a
Parents:
fe18d4a75a7c5281188bff42c2bdbc53f1ec9ee8
git-committer:
Erwan Velu <erwan.velu@free.fr> / 2009-11-09T10:44:58Z+0100
Message:

pci: Removing useless initialisation

Impact: None

The kernel module count is set to zero when the dev_info is allocated.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/lib/pci/scan.c

    rfe18d4 r590f9d  
    113113  strcpy(sub_product_id,"0000"); 
    114114  strcpy(sub_vendor_id,"0000"); 
    115   dev->dev_info->linux_kernel_module_count=0; 
    116115 
    117116  /* for each line we found in the modules.pcimap */ 
     
    634633    return -ENOMODULESALIAS; 
    635634 
    636   dev->dev_info->linux_kernel_module_count=0; 
    637  
    638635  /* for each line we found in the modules.pcimap */ 
    639636  while ( fgets(line, sizeof line, f) ) {