commit | 607cc166409f478d64d56aee369989a69a98fd99 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 05 17:25:17 2025 -0700 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 18 13:12:15 2025 -0600 |
tree | 460a91664de60f8e059101199c38f07615d79a71 | |
parent | 2f5122784b2e1f965265f4bb683ae1d0f16b3702 [diff] |
net: Simplify parse_args() This function repeats the same code in a few places, namely setting net_boot_file_name_explicit and copying of the filename to net_boot_file_name Move these two operations to the caller, with just the filename (or NULL) returned by parse_args() This makes things a little easier to follow. Signed-off-by: Simon Glass <sjg@chromium.org>