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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1361561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-07-14 17:02:05 +00:00
parent 32d4c148df
commit 3e5e1008db

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 "