git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb19931
)
x86: zboot: Drop intermediate zboot_go() function
author
Simon Glass
<sjg@chromium.org>
Mon, 4 Dec 2023 00:29:33 +0000
(17:29 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 10 Apr 2024 19:49:16 +0000
(13:49 -0600)
This function only calls zboot_go() so drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/x86/zboot.c
patch
|
blob
|
history
diff --git
a/cmd/x86/zboot.c
b/cmd/x86/zboot.c
index
f392b6b
..
f49cdd9
100644
(file)
--- a/
cmd/x86/zboot.c
+++ b/
cmd/x86/zboot.c
@@
-106,21
+106,12
@@
static int do_zboot_info(struct cmd_tbl *cmdtp, int flag, int argc,
return 0;
}
-static int _zboot_go(void)
-{
- int ret;
-
- ret = zboot_go();
-
- return ret;
-}
-
static int do_zboot_go(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
int ret;
- ret =
_
zboot_go();
+ ret = zboot_go();
if (ret) {
printf("Kernel returned! (err=%d)\n", ret);
return CMD_RET_FAILURE;