diff --git a/lib/libc/include/nss_tls.h b/lib/libc/include/nss_tls.h index 6253ec6f5dd..13ab367d06b 100644 --- a/lib/libc/include/nss_tls.h +++ b/lib/libc/include/nss_tls.h @@ -67,7 +67,6 @@ name##_getstate(struct name##_state **p) \ *p = calloc(1, sizeof(**p)); \ if (*p == NULL) \ return (ENOMEM); \ - memset(*p, 0, sizeof(**p)); \ rv = _pthread_setspecific(name##_state_key, *p); \ if (rv != 0) { \ free(*p); \