summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-06 23:29:55 +0200
committerTom Rini <trini@konsulko.com>2023-09-14 10:42:24 -0400
commit0d67e25bd28e132cead6cc4d387e341588d284cc (patch)
treef23dc5cfb87ce0ae4ec9f9109cff2b2dc1c4223c /cmd
parentd1e57979884c4cfca24fb4b9ad8298654ecf2e23 (diff)
downloadu-boot-0d67e25bd28e132cead6cc4d387e341588d284cc.tar.gz
u-boot-0d67e25bd28e132cead6cc4d387e341588d284cc.tar.bz2
u-boot-0d67e25bd28e132cead6cc4d387e341588d284cc.zip
cmd: pxe: Remove unused NEEDS_MANUAL_RELOC code bits
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/pxe.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmd/pxe.c b/cmd/pxe.c
index 7bfb1b9b28..704589702f 100644
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -299,24 +299,10 @@ static struct cmd_tbl cmd_pxe_sub[] = {
U_BOOT_CMD_MKENT(boot, 3, 1, do_pxe_boot, "", "")
};
-static void __maybe_unused pxe_reloc(void)
-{
- static int relocated_pxe;
-
- if (!relocated_pxe) {
- fixup_cmdtable(cmd_pxe_sub, ARRAY_SIZE(cmd_pxe_sub));
- relocated_pxe = 1;
- }
-}
-
static int do_pxe(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
struct cmd_tbl *cp;
-#if defined(CONFIG_NEEDS_MANUAL_RELOC)
- pxe_reloc();
-#endif
-
if (argc < 2)
return CMD_RET_USAGE;