]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mtd: ubifs: Remove unused NEEDS_MANUAL_RELOC code bits
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 6 Sep 2023 21:30:06 +0000 (23:30 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Sep 2023 14:42:25 +0000 (10:42 -0400)
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>
fs/ubifs/ubifs.c

index 609bdbf60377316cb6b90086e3fa1ed32ea4e88f..a509584e5d714634a4df10ad71e0affd36ca1d26 100644 (file)
@@ -201,12 +201,6 @@ static int __init compr_init(struct ubifs_compressor *compr)
 {
        ubifs_compressors[compr->compr_type] = compr;
 
-#ifdef CONFIG_NEEDS_MANUAL_RELOC
-       ubifs_compressors[compr->compr_type]->name += gd->reloc_off;
-       ubifs_compressors[compr->compr_type]->capi_name += gd->reloc_off;
-       ubifs_compressors[compr->compr_type]->decompress += gd->reloc_off;
-#endif
-
        if (compr->capi_name) {
                compr->cc = crypto_alloc_comp(compr->capi_name, 0, 0);
                if (IS_ERR(compr->cc)) {