Allow zero length strings to be passed to valid_hex
diff --git a/util.c b/util.c
index 60afe8f..683ce09 100644
--- a/util.c
+++ b/util.c
@@ -730,10 +730,6 @@ static bool _valid_hex(char *s, const char *file, const char *func, const int li
return ret;
}
len = strlen(s);
- if (unlikely(!len)) {
- applog(LOG_ERR, "Zero length string passed to valid_hex from"IN_FMT_FFL, file, func, line);
- return ret;
- }
for (i = 0; i < len; i++) {
unsigned char idx = s[i];