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:
Ondřej Lysoněk authored and Guenter Roeck committed 2018-05-14 08:49:01 -07:00
1 parent 3b548b74ae
commit 40aa494c02
1 file changed
-1
-1
View File
@@ -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);