rp: Removed rp_detach as the function serves no purpose

This commit is contained in:
dragonmux 2022-07-28 18:28:25 +01:00 committed by Piotr Esden-Tempski
parent df513ebda8
commit f429898adb
1 changed files with 0 additions and 6 deletions

View File

@ -486,11 +486,6 @@ static bool rp_attach(target *t)
return true;
}
static void rp_detach(target *t)
{
cortexm_detach(t);
}
bool rp_probe(target *t)
{
/* Check bootrom magic*/
@ -514,7 +509,6 @@ bool rp_probe(target *t)
t->driver = RP_ID;
t->target_options |= CORTEXM_TOPT_INHIBIT_NRST;
t->attach = rp_attach;
t->detach = rp_detach;
target_add_commands(t, rp_cmd_list, RP_ID);
return true;
}