Remove the "Logically dead code (DEADCODE)" as reported by Coverity. Fixes: 9c79b7de7231 ("ima-evm-utils: support verifying the measurement list using multiple keys") Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> --- src/libimaevm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libimaevm.c b/src/libimaevm.c index 261712717368..925c3cccf964 100644 --- a/src/libimaevm.c +++ b/src/libimaevm.c @@ -392,8 +392,6 @@ void init_public_keys(const char *keyfiles) keyfiles_free = tmp_keyfiles; while ((keyfile = strsep(&tmp_keyfiles, ", \t")) != NULL) { - if (!keyfile) - break; if ((*keyfile == '\0') || (*keyfile == ' ') || (*keyfile == '\t')) continue; -- 2.27.0