Fix: remove NULL check of nonnull parameter in dlclose
[lttng-ust.git] / liblttng-ust-dl / lttng-ust-dl.c
index 954d9dfcb7381025e82054b110a525ae5855e717..ac3c951fc85cd9ee80f096fd033d9852630bc31f 100644 (file)
@@ -144,7 +144,7 @@ void *dlopen(const char *filename, int flag)
 
 int dlclose(void *handle)
 {
-       if (__tracepoint_ptrs_registered && handle) {
+       if (__tracepoint_ptrs_registered) {
                struct link_map *p = NULL;
                int ret;
 
This page took 0.022726 seconds and 4 git commands to generate.