Browse Source

em357: fix warning by removing unused local variables

Change-Id: I9def63d36ed4fa8bf9cdeeedc18b1b25d0e487d6
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/184
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tags/v0.6.0-rc1
Øyvind Harboe 12 years ago
committed by Spencer Oliver
parent
commit
234f51429e
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/flash/nor/em357.c

+ 1
- 4
src/flash/nor/em357.c View File

@@ -757,10 +757,7 @@ static int em357_auto_probe(struct flash_bank *bank)

static int get_em357_info(struct flash_bank *bank, char *buf, int buf_size)
{
int printed;
printed = snprintf(buf, buf_size, "em357\n");
buf += printed;
buf_size -= printed;
snprintf(buf, buf_size, "em357\n");
return ERROR_OK;
}



Loading…
Cancel
Save