summaryrefslogtreecommitdiff
path: root/cmd/nand.c
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2019-10-30 16:53:54 +0100
committerTom Rini <trini@konsulko.com>2019-11-07 18:01:13 -0500
commit20841c52bb79e17159352d1410203c8b673ed305 (patch)
tree81b0485977967de443c93c41667b9e1cfca8d7c1 /cmd/nand.c
parent7a540eeecc14b974e421ccdb26a242ccf87f3d49 (diff)
downloadu-boot-20841c52bb79e17159352d1410203c8b673ed305.tar.gz
cmd: nand: Remove not used declaration
This declaration is not used anywhere in the whole tree. There is a function 'mtd_id_parse()' which was renamed from 'id_parse()' in commit 68d7d65100e8 ("Separate mtdparts command from jffs2"), but that function is not used (anymore?) in cmd nand and build is fine without that declaration, so it's probably just safe to remove. Signed-off-by: Alexander Dahl <ada@thorsis.com>
Diffstat (limited to 'cmd/nand.c')
-rw-r--r--cmd/nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/nand.c b/cmd/nand.c
index 27efef20bc..24c9df89c1 100644
--- a/cmd/nand.c
+++ b/cmd/nand.c
@@ -34,7 +34,6 @@
/* partition handling routines */
int mtdparts_init(void);
-int id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
int find_dev_and_part(const char *id, struct mtd_device **dev,
u8 *part_num, struct part_info **part);
#endif