summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target.c1
1 files changed, 0 insertions, 1 deletions
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
*/