summaryrefslogtreecommitdiff
path: root/tools-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools-util.c')
-rw-r--r--tools-util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools-util.c b/tools-util.c
index f89e6e65..7c88c9d4 100644
--- a/tools-util.c
+++ b/tools-util.c
@@ -401,9 +401,6 @@ unsigned hatoi_validate(const char *s, const char *msg)
if (bch2_strtoull_h(s, &v))
die("bad %s %s", msg, s);
- if (v & (v - 1))
- die("%s must be a power of two", msg);
-
v /= 512;
if (v > USHRT_MAX)