aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flash/nor/fm3.c1
1 files changed, 0 insertions, 1 deletions
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;