diff options
author | Tom Rini <trini@konsulko.com> | 2018-11-13 19:50:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-13 19:50:01 -0500 |
commit | 20274b0626b41a5709530afcf6cea6dd9c256e6c (patch) | |
tree | e6329be04a31d84e77005713f94b17a5bdd89d1c /cmd/ubi.c | |
parent | 4114a2614b0b7e3f147e2903a8e1d498c4cfb4ba (diff) | |
parent | 1f758b793649a18b76252bf507312465310637ad (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'cmd/ubi.c')
-rw-r--r-- | cmd/ubi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/ubi.c b/cmd/ubi.c index 767a4a45364..2b74a981446 100644 --- a/cmd/ubi.c +++ b/cmd/ubi.c @@ -417,11 +417,6 @@ static int ubi_dev_scan(struct mtd_info *info, const char *vid_header_offset) int ubi_detach(void) { - if (mtdparts_init() != 0) { - printf("Error initializing mtdparts!\n"); - return 1; - } - #ifdef CONFIG_CMD_UBIFS /* * Automatically unmount UBIFS partition when user |