diff options
| author | Marek Vasut <[email protected]> | 2023-09-06 23:29:59 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-09-14 10:42:24 -0400 |
| commit | ba377a6c2c4e9907a198837366bd80c032432bc7 (patch) | |
| tree | ee9eff5ddaa1a2563068455ca1fc928b5ec7adb3 /include | |
| parent | 92b1f7abb6653c8daa7f359addb0945fa0790c5d (diff) | |
image: 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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/relocate.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/relocate.h b/include/relocate.h index 5ae1a2ed555..8ca25e1105e 100644 --- a/include/relocate.h +++ b/include/relocate.h @@ -39,18 +39,4 @@ int clear_bss(void); */ int do_elf_reloc_fixups(void); -/** - * manual_reloc() - Manually relocate a pointer if needed - * - * This is a nop in almost all cases, except for the systems with a broken gcc - * which need to manually relocate some things. - * - * @ptr: Pointer to relocate - * Return: new pointer value - */ -static inline void *manual_reloc(void *ptr) -{ - return ptr; -} - #endif /* _RELOCATE_H_ */ |
