Kill Target specific ModuleMatchQuality stuff.
 - This was overkill and inconsistently implemented.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77114 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp b/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
index 49c8e19..e063a91 100644
--- a/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
+++ b/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
@@ -23,18 +23,8 @@
   return 0;
 }
 
-static unsigned SystemZ_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = SystemZ_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise we don't match.
-  return 0;
-}
-
 extern "C" void LLVMInitializeSystemZTargetInfo() {
   TargetRegistry::RegisterTarget(TheSystemZTarget, "systemz",
                                  "SystemZ",
-                                 &SystemZ_TripleMatchQuality,
-                                 &SystemZ_ModuleMatchQuality);
+                                 &SystemZ_TripleMatchQuality);
 }