diff options
author | Simon Glass <sjg@chromium.org> | 2025-03-05 17:25:17 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-03-18 13:12:15 -0600 |
commit | f1ece5d86e5577ae9bb3325d65ed7003f3cbaf9e (patch) | |
tree | 460a91664de60f8e059101199c38f07615d79a71 /drivers/timer/sandbox_timer.c | |
parent | 3ccbc10cd9e3b28d67fe5008943a648b870db1e6 (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>
Diffstat (limited to 'drivers/timer/sandbox_timer.c')
0 files changed, 0 insertions, 0 deletions