diff --git a/lib/libc/dlfcn/dlfcn_elf.c b/lib/libc/dlfcn/dlfcn_elf.c index 977fc9887..8543d2731 100644 --- a/lib/libc/dlfcn/dlfcn_elf.c +++ b/lib/libc/dlfcn/dlfcn_elf.c @@ -191,9 +191,7 @@ dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *), * and smaller and such stores are atomic. */ dl_iterate_phdr_setup(); -#if !defined(__minix) membar_producer(); -#endif /* !defined(__minix) */ setup_done = true; }