aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/stellaris.c
diff options
context:
space:
mode:
authorAlexander Kurz <akurz@blala.de>2016-02-28 21:21:40 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-02-29 19:09:21 +0000
commit6581bf5f15f404a9a219cfed8eebced76b4414a5 (patch)
tree3a457735334a5270e3c13dc45f4d144e5794529c /src/flash/nor/stellaris.c
parent144f96c35afbff6771481dbfd39e863ff1a63bd7 (diff)
Cleanup: removal of obsolete semicolons
Obsolete C source code semicolons were removed using the semantic patch semicolon/semicolon.cocci, see coccinellery.org Change-Id: I153b4995a9e028ebaf5f58c947821dc78345a777 Signed-off-by: Alexander Kurz <akurz@blala.de> Reviewed-on: http://openocd.zylin.com/3367 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/flash/nor/stellaris.c')
-rw-r--r--src/flash/nor/stellaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 451f19b7..ecfc10e1 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -1065,7 +1065,7 @@ static int stellaris_write_block(struct flash_bank *bank,
&write_algorithm) != ERROR_OK) {
LOG_DEBUG("no working area for block memory writes");
return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;
- };
+ }
/* plus a buffer big enough for this data */
if (wcount * 4 < buffer_size)
@@ -1080,7 +1080,7 @@ static int stellaris_write_block(struct flash_bank *bank,
}
LOG_DEBUG("retry target_alloc_working_area(%s, size=%u)",
target_name(target), (unsigned) buffer_size);
- };
+ }
target_write_buffer(target, write_algorithm->address,
sizeof(stellaris_write_code),