]> git.sur5r.net Git - openocd/commitdiff
invoke target_create() once
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 2 Nov 2008 21:16:41 +0000 (21:16 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 2 Nov 2008 21:16:41 +0000 (21:16 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1124 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/target.c

index 175cb478aefd85a4dd653128fdb40bff84553037..b9d1929371349fdd4c86a3afd48c7077c89a973c 100644 (file)
@@ -3828,7 +3828,6 @@ target_create( Jim_GetOptInfo *goi )
                                                   target, /* private data */
                                                   NULL ); /* no del proc */
 
-       (*(target->type->target_create))( target, goi->interp );
        return e;
 }