From 482e8a2b5574f5360f9d0e1b2c52be7505290e96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Thu, 3 Nov 2011 21:49:59 +0100 Subject: [PATCH] etm: fix warning by removing assignment that is immediately overwritten MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ia3a83d3c1fc3a1707d69017fce6cf142a81babc4 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/165 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/target/etm.c | 1 - 1 file changed, 1 deletion(-) 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 -- 2.39.5