src/lib: Remove redundant code in imd.c

Get rid of duplicated "if" statement in imdr_create_empty().

Signed-off-by: Anna Karas <aka@semihalf.com>
Change-Id: I80c074d09f222086092478f8fd3ac665235ebb31
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43339
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
diff --git a/src/lib/imd.c b/src/lib/imd.c
index c87037d..e19c03d 100644
--- a/src/lib/imd.c
+++ b/src/lib/imd.c
@@ -143,9 +143,6 @@
 	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