From f8ff3bec65e31dad1cabe0bd3e2f1fae9ef77f40 Mon Sep 17 00:00:00 2001 From: Pankaj Date: Tue, 20 Sep 2016 18:07:59 +0200 Subject: modules: Remove redundant NULL check https://bugs.freedesktop.org/show_bug.cgi?id=93588 --- p11-kit/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.1