summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/ectool.c b/util/ectool.c
index d551610906..1a641a931b 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -1489,9 +1489,6 @@ int cmd_thermal_get_threshold_v0(int argc, char *argv[])
if (rv < 0)
return rv;
- if (r.value < 0)
- return -1;
-
printf("Threshold %d for sensor type %d is %d K.\n",
p.threshold_id, p.sensor_type, r.value);