From: Marek Vasut Date: Wed, 6 Sep 2023 21:29:50 +0000 (+0200) Subject: cmd: bmp: Remove unused NEEDS_MANUAL_RELOC code bits X-Git-Tag: v2025.01-rc5-pxa1908~847^2~10^2~25 X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=a8246503b1556852c03d7450c2a6b0e2e9b073ed;p=u-boot.git cmd: bmp: 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 --- diff --git a/common/bmp.c b/common/bmp.c index 57764f3653..bab6fa7265 100644 --- a/common/bmp.c +++ b/common/bmp.c @@ -81,13 +81,6 @@ struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, return bmp; } -#ifdef CONFIG_NEEDS_MANUAL_RELOC -void bmp_reloc(void) -{ - fixup_cmdtable(cmd_bmp_sub, ARRAY_SIZE(cmd_bmp_sub)); -} -#endif - int bmp_info(ulong addr) { struct bmp_image *bmp = (struct bmp_image *)map_sysmem(addr, 0);