This is an automated email from Gerrit.

?yvind Harboe (oyvindhar...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/46

-- gerrit
commit f6522f3799e861bb06eec8aae41e27892fbbce13
Author: Øyvind Harboe <oyvind.har...@zylin.com>
Date:   Sat Oct 22 01:08:16 2011 +0200

    fm3: fix warning for superfluous assignment
    
    Change-Id: I4f8e8c2e676a2728ddc6227daf9ca6a7ceb3d505
    Signed-off-by: Øyvind Harboe <oyvind.har...@zylin.com>

diff --git a/src/flash/nor/fm3.c b/src/flash/nor/fm3.c
index 1e2adf5..e852589 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;

-- 
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to