Drop redundant test in vt1211_alias_detect.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5273 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-06-07 18:32:03 +00:00
1 parent a5f4b32d17
commit e165317220
1 file changed
-1
-1
View File
@@ -5545,7 +5545,6 @@ sub vt1211_alias_detect
my ($chip, $isa_addr, $file, $i2c_addr) = @_;
my $i;
return 0 unless (inb($isa_addr + 0x48) & 0x7f) == $i2c_addr;
return 0 unless (i2c_smbus_read_byte_data($file, 0x48) & 0x7f) == $i2c_addr;
for ($i = 0x2b; $i <= 0x3d; $i ++) {
return 0 unless inb($isa_addr + $i) == i2c_smbus_read_byte_data($file, $i);
}