2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 22:35:23 +00:00

Skip useless SMBus read in lm92_detect.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2912 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2005-02-18 19:15:27 +00:00
parent d6072fda51
commit f12e94feab

View File

@@ -3035,7 +3035,6 @@ sub lm92_detect
{
my ($chip, $file, $addr) = @_;
my $cur = i2c_smbus_read_word_data($file, 0x00);
my $conf = i2c_smbus_read_byte_data($file, 0x01);
my $hyst = i2c_smbus_read_word_data($file, 0x02);
my $crit = i2c_smbus_read_word_data($file, 0x03);