summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/imd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/imd.c b/src/lib/imd.c
index c87037d807..e19c03d0b7 100644
--- a/src/lib/imd.c
+++ b/src/lib/imd.c
@@ -143,9 +143,6 @@ static int imdr_create_empty(struct imdr *imdr, size_t root_size,
assert(IS_POWER_OF_2(root_size));
assert(IS_POWER_OF_2(entry_align));
- if (!imdr->limit)
- return -1;
-
/*
* root_size needs to be large enough to accommodate root pointer and
* root book keeping structure. The caller needs to ensure there's