git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1361563 13f79535-47bb-0310-9956-ffa450edef68
@@ -74,8 +74,6 @@ static void hdfsThreadDestructor(void *v)
JNIEnv *env = tls->env;
jint ret;
- if (!tls)
- return;
ret = (*env)->GetJavaVM(env, &vm);
if (ret) {
fprintf(stderr, "hdfsThreadDestructor: GetJavaVM failed with "