aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2022-08-16 14:10:26 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-08-27 16:19:16 +0000
commit60396be0b6a7b5ad45e0724b860dabc2b7c6f378 (patch)
tree8121da51d3b25280b769ff477f7c78f030348ebd
parent7bc4e67d65367d214fbdef6514eb2fa29c541475 (diff)
downloadriscv-openocd-60396be0b6a7b5ad45e0724b860dabc2b7c6f378.zip
riscv-openocd-60396be0b6a7b5ad45e0724b860dabc2b7c6f378.tar.gz
riscv-openocd-60396be0b6a7b5ad45e0724b860dabc2b7c6f378.tar.bz2
flash/nor/core: remove unused define
FLASH_MAX_ERROR_STR is not used since commit 815c3b353307 (merged in ~2008) Change-Id: Ic117a2e3d22235c31dc14533b6564ebf5a13ae58 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/7121 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--src/flash/nor/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h
index 0c09e98..8c26ba0 100644
--- a/src/flash/nor/core.h
+++ b/src/flash/nor/core.h
@@ -20,8 +20,6 @@
struct image;
-#define FLASH_MAX_ERROR_STR (128)
-
/**
* Describes the geometry and status of a single flash sector
* within a flash bank. A single bank typically consists of multiple