Message ID | 20211119074602.857595-8-lkml@jv-coder.de |
---|---|
State | Accepted |
Headers | show |
Series | Fix or suppress compiler warnings in posix/conformance/interfaces | expand |
Hi! Applied, thanks.
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/2-1.c index f150f3443..51c89f376 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/2-1.c @@ -28,13 +28,6 @@ int main(void) pthread_key_t key; void *rc; - /* Verify that the value associated with "key" in a new thread is NULL */ - rc = pthread_getspecific(key); - if (rc != NULL) { - printf("Test FAILED\n"); - return PTS_FAIL; - } - if (pthread_key_create(&key, NULL) != 0) { printf("Error: pthread_key_create() failed\n"); return PTS_UNRESOLVED;