]> git.sur5r.net Git - openocd/commitdiff
etm: fix warning by removing assignment that is immediately overwritten
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 3 Nov 2011 20:49:59 +0000 (21:49 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 4 Nov 2011 09:15:14 +0000 (09:15 +0000)
Change-Id: Ia3a83d3c1fc3a1707d69017fce6cf142a81babc4
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/165
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/etm.c

index 7384764aa1f4f1ed9b46077f898743420fbdd131..4e15878332cf93528753b1a31e6eb36bab813b15 100644 (file)
@@ -314,7 +314,6 @@ struct reg_cache *etm_build_reg_cache(struct target *target,
 
        /* figure ETM version then add base registers */
        if (config & (1 << 31)) {
-               bcd_vers = 0x20;
                LOG_WARNING("ETMv2+ support is incomplete");
 
                /* REVISIT more registers may exist; they may now be