From: Simon Glass Date: Sun, 1 Dec 2024 14:42:34 +0000 (-0700) Subject: binman: Avoid skipping binman_init() X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=03e57244bc260da9b9839d387cc5eb691f88b5bd;p=u-boot.git binman: Avoid skipping binman_init() A recent lwip change stopped binman's init from working, so it is not possible to read nodes from the image description anymore. Correct this by dropping the offending line. Signed-off-by: Simon Glass Fixes: 4d4d7838127 net: lwip: add TFTP support and tftpboot command --- diff --git a/lib/binman.c b/lib/binman.c index 93d8554811..9047f5275f 100644 --- a/lib/binman.c +++ b/lib/binman.c @@ -137,7 +137,6 @@ int binman_init(void) { int ret; - return 0; binman = malloc(sizeof(struct binman_info)); if (!binman) return log_msg_ret("space for binman", -ENOMEM);