Amend HDFS-799. Remove unnecessary tls check. Contributed by Colin Patrick McCabe

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1361563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-07-14 17:03:24 +00:00
parent a9629c6fe7
commit d03fb9c0d2
1 changed files with 0 additions and 2 deletions

View File

@ -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 "