Blame SOURCES/0001-Remove-superfluous-call-to-get_input_value.patch

7ca109
From 40aa494c026c67f089a4a84c600114473e9d7787 Mon Sep 17 00:00:00 2001
7ca109
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
7ca109
Date: Mon, 7 May 2018 13:37:26 +0200
7ca109
Subject: [PATCH] Remove superfluous call to get_input_value()
7ca109
MIME-Version: 1.0
7ca109
Content-Type: text/plain; charset=UTF-8
7ca109
Content-Transfer-Encoding: 8bit
7ca109
7ca109
It is already called in the line above.
7ca109
Discovered thanks to a Coverity Scan warning.
7ca109
7ca109
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
7ca109
---
7ca109
 prog/sensors/chips.c | 1 -
7ca109
 1 file changed, 1 deletion(-)
7ca109
7ca109
diff --git a/prog/sensors/chips.c b/prog/sensors/chips.c
7ca109
index 01c08fa8..99df8264 100644
7ca109
--- a/prog/sensors/chips.c
7ca109
+++ b/prog/sensors/chips.c
7ca109
@@ -364,7 +364,6 @@ static void print_chip_temp(const sensors_chip_name *name,
7ca109
 		sf = sensors_get_subfeature(name, feature,
7ca109
 					    SENSORS_SUBFEATURE_TEMP_INPUT);
7ca109
 		if (sf && get_input_value(name, sf, &val) == 0) {
7ca109
-			get_input_value(name, sf, &val;;
7ca109
 			if (fahrenheit)
7ca109
 				val = deg_ctof(val);
7ca109
 			printf("%+6.1f%s  ", val, degstr);
7ca109
-- 
7ca109
2.14.3
7ca109