From bc0cc62afd7e84432727f470f74d4fb2b405ce35 Mon Sep 17 00:00:00 2001 From: Yauheni Kaliuta Date: Sun, 11 Oct 2009 18:27:27 +0300 Subject: [PATCH] Do not replace virt2phys with the default one if it was assigned Signed-off-by: Yauheni Kaliuta --- src/target/target.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/target/target.c b/src/target/target.c index 2b7d7e2c..7763b956 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -698,7 +698,6 @@ int target_init(struct command_context_s *cmd_ctx) { target->type->virt2phys = default_virt2phys; } - target->type->virt2phys = default_virt2phys; /* a non-invasive way(in terms of patches) to add some code that * runs before the type->write/read_memory implementation */ -- 2.39.5