mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
cmd: pxe: Remove unused NEEDS_MANUAL_RELOC code bits
The last user of the NEEDS_MANUAL_RELOC has been removed in commit
26af162ac8
("arch: m68k: Implement relocation")
Remove now unused NEEDS_MANUAL_RELOC code.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
d1e5797988
commit
0d67e25bd2
1 changed files with 0 additions and 14 deletions
14
cmd/pxe.c
14
cmd/pxe.c
|
@ -299,24 +299,10 @@ static struct cmd_tbl cmd_pxe_sub[] = {
|
||||||
U_BOOT_CMD_MKENT(boot, 3, 1, do_pxe_boot, "", "")
|
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[])
|
static int do_pxe(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||||
{
|
{
|
||||||
struct cmd_tbl *cp;
|
struct cmd_tbl *cp;
|
||||||
|
|
||||||
#if defined(CONFIG_NEEDS_MANUAL_RELOC)
|
|
||||||
pxe_reloc();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
return CMD_RET_USAGE;
|
return CMD_RET_USAGE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue