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>
This commit is contained in:
Paul Fertser 2015-02-26 19:42:08 +03:00
parent cc50a42882
commit 77d2cad9fc
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ static int get_stellaris_info(struct flash_bank *bank, char *buf, int buf_size)
buf += printed; buf += printed;
buf_size -= printed; buf_size -= printed;
printed = snprintf(buf, snprintf(buf,
buf_size, buf_size,
"master clock: %ikHz%s, " "master clock: %ikHz%s, "
"rcc is 0x%" PRIx32 ", rcc2 is 0x%" PRIx32 ", " "rcc is 0x%" PRIx32 ", rcc2 is 0x%" PRIx32 ", "