summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorPankaj <pankaj.s01@samsung.com>2016-09-20 18:07:59 +0200
committerDaiki Ueno <ueno@gnu.org>2016-12-13 10:13:41 +0100
commitf8ff3bec65e31dad1cabe0bd3e2f1fae9ef77f40 (patch)
treee9756b0bef428c9dc66ee374a5215ec7064dba40 /p11-kit
parent873e52cc72701f7a5714a5006f15810ba5981d10 (diff)
modules: Remove redundant NULL check
https://bugs.freedesktop.org/show_bug.cgi?id=93588
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c
index fc456ce..5cdc8b2 100644
--- a/p11-kit/modules.c
+++ b/p11-kit/modules.c
@@ -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);
}