[sre] Remove some dead code.
authorZoltan Varga <vargaz@gmail.com>
Fri, 28 Oct 2016 19:29:02 +0000 (15:29 -0400)
committerZoltan Varga <vargaz@gmail.com>
Fri, 28 Oct 2016 19:29:07 +0000 (15:29 -0400)
mono/metadata/sre-encode.c

index 1d9e50ba93ce86dd692da0586f8e951df4c590de..3c7454885210dda167c0870bec22bed4b5d79ed2 100644 (file)
@@ -756,8 +756,6 @@ mono_dynimage_encode_typedef_or_ref_full (MonoDynamicImage *assembly, MonoType *
        if (token)
                return token;
        klass = mono_class_from_mono_type (type);
-       if (!klass)
-               klass = mono_class_from_mono_type (type);
 
        /*
         * If it's in the same module and not a generic type parameter: