Remove obsolete patchoat-related code from dexopt_test.

Test: m test-art-host-gtest
Change-Id: I3c0036c42bc2054bcfcd514717611d3021843792
diff --git a/runtime/dexopt_test.cc b/runtime/dexopt_test.cc
index dfb81e8..df7aee8 100644
--- a/runtime/dexopt_test.cc
+++ b/runtime/dexopt_test.cc
@@ -74,9 +74,6 @@
                                     bool with_alternate_image,
                                     const char* compilation_reason,
                                     const std::vector<std::string>& extra_args) {
-  std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(kRuntimeISA));
-  std::string dalvik_cache_tmp = dalvik_cache + ".redirected";
-
   std::vector<std::string> args;
   args.push_back("--dex-file=" + dex_location);
   args.push_back("--oat-file=" + oat_location);