aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs/ubifs.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-06 23:30:06 +0200
committerTom Rini <trini@konsulko.com>2023-09-14 10:42:25 -0400
commit2c77bb838e5455d3c7f1f4ffca8a0b05da526703 (patch)
treef357622b8ed61b6f852756fd70c2fcf0f3905599 /fs/ubifs/ubifs.c
parent7b8c61df20e089645900b73b568568c4566ca6b5 (diff)
downloadu-boot-2c77bb838e5455d3c7f1f4ffca8a0b05da526703.zip
u-boot-2c77bb838e5455d3c7f1f4ffca8a0b05da526703.tar.gz
u-boot-2c77bb838e5455d3c7f1f4ffca8a0b05da526703.tar.bz2
mtd: ubifs: 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 'fs/ubifs/ubifs.c')
-rw-r--r--fs/ubifs/ubifs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index 609bdbf..a509584 100644
--- a/fs/ubifs/ubifs.c
+++ b/fs/ubifs/ubifs.c
@@ -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)) {