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;