]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Disintangle declarations in do_host_bind()
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:11:09 +0000 (18:11 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:31 +0000 (15:04 +1300)
commit1503c2c7906d191e24579246fc3a6fcd656a890b
tree226b7179668a187932498ffa474afda4a4d1aa7f
parenta5bc9abcee0ac8982c14f9cd585570a268eb9e47
sandbox: Disintangle declarations in do_host_bind()

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@chromium.org>
cmd/host.c