Skip to content

Commit

Permalink
modules: Remove redundant NULL check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pankajs01 authored and ueno committed Dec 13, 2016
1 parent 873e52c commit f8ff3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p11-kit/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,7 @@ p11_kit_load_initialize_module (const char *module_path,
}
}

if (rv == CKR_OK && module) {
if (rv == CKR_OK) {
*module = unmanaged_for_module_inlock (mod);
assert (*module != NULL);
}
Expand Down

0 comments on commit f8ff3be

Please sign in to comment.