summaryrefslogtreecommitdiff
path: root/util/libreboot-utils
diff options
context:
space:
mode:
Diffstat (limited to 'util/libreboot-utils')
-rw-r--r--util/libreboot-utils/lib/num.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/libreboot-utils/lib/num.c b/util/libreboot-utils/lib/num.c
index 53ba4ccb..79d6b409 100644
--- a/util/libreboot-utils/lib/num.c
+++ b/util/libreboot-utils/lib/num.c
@@ -30,7 +30,6 @@ hextonum(char ch_s)
unsigned char ch;
size_t rval;
- errno = 0;
ch = (unsigned char)ch_s;
@@ -51,8 +50,6 @@ hextonum(char ch_s)
if (ch == '?' || ch == 'x') {
rset(&rval, sizeof(rval));
- if (errno > 0)
- goto err_hextonum;
goto hextonum_success;
}