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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user