Replacing an empty switch with its moral equivalent. No functional changes intended.
[oota-llvm.git] / lib / Target / MBlaze / MCTargetDesc / MBlazeMCTargetDesc.cpp
index 5bc0668f358148ab599b683837608d05a0b0f864..052868ea424cb629cd9feb8623b50139d242f0fb 100644 (file)
@@ -54,11 +54,7 @@ static MCSubtargetInfo *createMBlazeMCSubtargetInfo(StringRef TT, StringRef CPU,
 }
 
 static MCAsmInfo *createMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
-  Triple TheTriple(TT);
-  switch (TheTriple.getOS()) {
-  default:
-    return new MBlazeMCAsmInfo();
-  }
+  return new MBlazeMCAsmInfo();
 }
 
 static MCCodeGenInfo *createMBlazeMCCodeGenInfo(StringRef TT, Reloc::Model RM,