Revert "Do a type check for knowing if we can inline."

Fails for some apps.
bug:21674542

This reverts commit 7ce4b3d4c1c562959a8a3640df764ab50f1cbdf1.

Change-Id: Ie25852c022391834858b2f5e34e8c7aeb1c3b3dd
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index 07d0dd6..ea613b2 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -120,9 +120,6 @@
     // Statically knowing that the receiver has an interface type cannot
     // help us find what is the target method.
     return nullptr;
-  } else if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(info.GetTypeHandle().Get())) {
-    // The method that we're trying to call is not in the receiver's class or super classes.
-    return nullptr;
   }
 
   ClassLinker* cl = Runtime::Current()->GetClassLinker();