[PATCH 04/19] sandbox: Disintangle declarations in do_host_bind()

Simon Glass sjg at chromium.org
Sat Mar 27 04:17:55 CET 2021


This function has a strange mix of declarations and argument parsing
which is a bit hard to follow and harder to modify. Separate out the
declarations at the start of the function and adjust the ordering of
the code slightly.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/host.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list