summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-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 46e985a81c..d59c92b3cb 100644
--- a/src/lib/imd.c
+++ b/src/lib/imd.c
@@ -625,9 +625,6 @@ int imd_entry_remove(const struct imd *imd, const struct imd_entry *entry)
r = imdr_root(imdr);
- if (r == NULL)
- return -1;
-
if (root_is_locked(r))
return -1;