From e00a56bede4308426d17fda8cafacf7ddc82a238 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Thu, 26 Feb 2015 19:48:08 +0300 Subject: [PATCH] target/cortex_a: remove dead assignment Found by clang static checker. Change-Id: I77b0dc18188328fdb28d07b9e5c52e06182d9e2b Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2561 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/target/cortex_a.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index 489c8811d..9ae04322b 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -2390,7 +2390,6 @@ static int cortex_a_read_apb_ab_memory_fast(struct target *target, /* Advance. */ buffer += (count - 1) * 4; - count = 1; } else { /* Issue the LDC instruction via a write to ITR. */ retval = cortex_a_exec_opcode(target, ARMV4_5_LDC(0, 1, 0, 1, 14, 5, 0, 4), dscr);