dex2oat: Remove redundant "duplicate methods" warning with --debuggable

This also fixes failing golem benchmarks with --debuggabble because
there was too much output for golem to handle.

Bug: 68850641
Change-Id: I626465302d3e36bcdbb84e701363d34d43b87c7c
diff --git a/dex2oat/linker/oat_writer.cc b/dex2oat/linker/oat_writer.cc
index fd3feb7..d8671d2 100644
--- a/dex2oat/linker/oat_writer.cc
+++ b/dex2oat/linker/oat_writer.cc
@@ -1185,18 +1185,6 @@
         quick_code_offset = NewQuickCodeOffset(compiled_method, method_ref, thumb_offset);
         deduped = false;
       }
-
-      if (code_size != 0) {
-        if (relative_patcher_->GetOffset(method_ref) != 0u) {
-          // TODO: Should this be a hard failure?
-          LOG(WARNING) << "Multiple definitions of "
-              << method_ref.dex_file->PrettyMethod(method_ref.index)
-              << " offsets " << relative_patcher_->GetOffset(method_ref)
-              << " " << quick_code_offset;
-        } else {
-          relative_patcher_->SetOffset(method_ref, quick_code_offset);
-        }
-      }
     } else {
       quick_code_offset = dedupe_map_.GetOrCreate(
           compiled_method,