mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-29 12:50:43 +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:
1 parent
d6072fda51
commit
f12e94feab
1 file changed
-1
@@ -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