mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-23 11:54:33 +00:00
Remove superfluous call to get_input_value()
It is already called in the line above. Discovered thanks to a Coverity Scan warning. Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
1 parent
3b548b74ae
commit
40aa494c02
1 file changed
-1
@@ -364,7 +364,6 @@ static void print_chip_temp(const sensors_chip_name *name,
|
||||
sf = sensors_get_subfeature(name, feature,
|
||||
SENSORS_SUBFEATURE_TEMP_INPUT);
|
||||
if (sf && get_input_value(name, sf, &val) == 0) {
|
||||
get_input_value(name, sf, &val);
|
||||
if (fahrenheit)
|
||||
val = deg_ctof(val);
|
||||
printf("%+6.1f%s ", val, degstr);
|
||||
|
||||
Reference in new issue
Block a user