mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-01 21:31:14 +02:00
Remove unnecessary NULL pointer test
Remove the "Logically dead code (DEADCODE)" as reported by Coverity.
Fixes: 9c79b7de72
("ima-evm-utils: support verifying the measurement list using multiple keys")
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user