From: Øyvind Harboe Date: Thu, 3 Nov 2011 20:49:59 +0000 (+0100) Subject: etm: fix warning by removing assignment that is immediately overwritten X-Git-Tag: v0.6.0-rc1~463 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=482e8a2b5574f5360f9d0e1b2c52be7505290e96;p=openocd etm: fix warning by removing assignment that is immediately overwritten Change-Id: Ia3a83d3c1fc3a1707d69017fce6cf142a81babc4 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/165 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/target/etm.c b/src/target/etm.c index 7384764a..4e158783 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -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