From dad38502643de668d751c6a5ff23334270e650b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Sat, 22 Oct 2011 01:08:16 +0200 Subject: [PATCH] fm3: fix warning for superfluous assignment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I4f8e8c2e676a2728ddc6227daf9ca6a7ceb3d505 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/46 Tested-by: jenkins Reviewed-by: Øyvind Harboe --- src/flash/nor/fm3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flash/nor/fm3.c b/src/flash/nor/fm3.c index 1e2adf55f2..e852589bdf 100644 --- a/src/flash/nor/fm3.c +++ b/src/flash/nor/fm3.c @@ -643,7 +643,6 @@ static int fm3_probe(struct flash_bank *bank) bank->sectors = malloc(sizeof(struct flash_sector) * num_pages); bank->base = 0x00000000; - num_pages = 2; /* start with smallest Flash pages number */ bank->size = 32 * 1024; /* bytes */ bank->sectors[0].offset = 0; -- 2.30.2