summaryrefslogtreecommitdiff
path: root/common/event.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-06 23:29:47 +0200
committerTom Rini <trini@konsulko.com>2023-09-14 10:42:24 -0400
commit1ee16b268d09d2e0427e3bcc2b56b5e27bbadfa3 (patch)
treea51668642f40758b587fb2fdec4cf69b399e5218 /common/event.c
parent6a595c2f67e0647fc8360c86aa765dff6a667ced (diff)
downloadu-boot-1ee16b268d09d2e0427e3bcc2b56b5e27bbadfa3.tar.gz
u-boot-1ee16b268d09d2e0427e3bcc2b56b5e27bbadfa3.tar.bz2
u-boot-1ee16b268d09d2e0427e3bcc2b56b5e27bbadfa3.zip
common: event: 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 'common/event.c')
-rw-r--r--common/event.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/common/event.c b/common/event.c
index d11b37a1d8..3080d9ed75 100644
--- a/common/event.c
+++ b/common/event.c
@@ -168,20 +168,6 @@ void event_show_spy_list(void)
}
}
-#if IS_ENABLED(CONFIG_NEEDS_MANUAL_RELOC)
-int event_manual_reloc(void)
-{
- struct evspy_info *spy, *end;
-
- spy = ll_entry_start(struct evspy_info, evspy_info);
- end = ll_entry_end(struct evspy_info, evspy_info);
- for (; spy < end; spy++)
- MANUAL_RELOC(spy->func);
-
- return 0;
-}
-#endif
-
#if CONFIG_IS_ENABLED(EVENT_DYNAMIC)
static void spy_free(struct event_spy *spy)
{