aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2015-02-26 19:42:08 +0300
committerPaul Fertser <fercerpav@gmail.com>2015-03-09 06:33:53 +0000
commit77d2cad9fc95fdcf40a89c7dc5631cc9c4f81556 (patch)
tree8bfa74c70ae8754e5f2146384ead83aaf64872ed /src/flash
parentcc50a428829d6feaf9b6eb2a796c4a834bd6368e (diff)
flash/nor/stellaris: remove dead assignment
Found by clang static checker. Change-Id: Ifa58ba383092341c7343916e5cc8ec3c72ab2f60 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2560 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index c4fe3be9..664b6d03 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -516,7 +516,7 @@ static int get_stellaris_info(struct flash_bank *bank, char *buf, int buf_size)
buf += printed;
buf_size -= printed;
- printed = snprintf(buf,
+ snprintf(buf,
buf_size,
"master clock: %ikHz%s, "
"rcc is 0x%" PRIx32 ", rcc2 is 0x%" PRIx32 ", "