diff options
author | Alexander Kurz <akurz@blala.de> | 2016-02-28 21:21:40 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-02-29 19:09:21 +0000 |
commit | 6581bf5f15f404a9a219cfed8eebced76b4414a5 (patch) | |
tree | 3a457735334a5270e3c13dc45f4d144e5794529c /src/flash/nor/niietcm4.c | |
parent | 144f96c35afbff6771481dbfd39e863ff1a63bd7 (diff) | |
download | riscv-openocd-6581bf5f15f404a9a219cfed8eebced76b4414a5.zip riscv-openocd-6581bf5f15f404a9a219cfed8eebced76b4414a5.tar.gz riscv-openocd-6581bf5f15f404a9a219cfed8eebced76b4414a5.tar.bz2 |
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/niietcm4.c')
-rw-r--r-- | src/flash/nor/niietcm4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/niietcm4.c b/src/flash/nor/niietcm4.c index c8dd1bc..9e32c01 100644 --- a/src/flash/nor/niietcm4.c +++ b/src/flash/nor/niietcm4.c @@ -1299,7 +1299,7 @@ static int niietcm4_write_block(struct flash_bank *bank, const uint8_t *buffer, &write_algorithm) != ERROR_OK) { LOG_WARNING("no working area available, can't do block memory writes"); return ERROR_TARGET_RESOURCE_NOT_AVAILABLE; - }; + } retval = target_write_buffer(target, write_algorithm->address, sizeof(niietcm4_flash_write_code), niietcm4_flash_write_code); @@ -1319,7 +1319,7 @@ static int niietcm4_write_block(struct flash_bank *bank, const uint8_t *buffer, LOG_WARNING("no large enough working area available, can't do block memory writes"); return ERROR_TARGET_RESOURCE_NOT_AVAILABLE; } - }; + } init_reg_param(®_params[0], "r0", 32, PARAM_IN_OUT); /* write_cmd base (in), status (out) */ init_reg_param(®_params[1], "r1", 32, PARAM_OUT); /* count (128bit) */ |