Changeset 5763 for lm-sensors/branches

Show
Ignore:
Timestamp:
07/24/09 18:09:53 (3 years ago)
Author:
khali
Message:

Drop dead code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-2.10/prog/detect/sensors-detect

    r5762 r5763  
    56215621sub generate_modprobes 
    56225622{ 
    5623   my ($chip, $detection, $nr, $i, @optionlist, @probelist, $driver, $isa, $adap); 
     5623  my ($chip, $detection, $nr, $i, @optionlist, $driver, $isa, $adap); 
    56245624  my $ipmi = 0; 
    56255625  my $modprobes = ""; 
     
    57245724    } 
    57255725 
    5726     next if not (@probelist or @optionlist); 
     5726    next if not @optionlist; 
    57275727    $configfile = "# hwmon module options\n" unless defined $configfile; 
    57285728    $configfile .= "options $chip->{driver}"; 
    57295729    $configfile .= sprintf " ignore=%d,0x%02x", shift @optionlist, 
    5730                                                shift @optionlist 
    5731                   if @optionlist; 
     5730                                               shift @optionlist; 
    57325731    $configfile .= sprintf ",%d,0x%02x", shift @optionlist, shift @optionlist 
    57335732                  while @optionlist; 
    5734     $configfile .= sprintf " probe=%d,0x%02x", shift @probelist, 
    5735                                               shift @probelist 
    5736                   if @probelist; 
    5737     $configfile .= sprintf ",%d,0x%02x", shift @probelist, shift @probelist 
    5738                   while @probelist; 
    57395733    $configfile .= "\n"; 
    57405734  }