mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 20:04:46 +00:00
mtd: ubifs: Remove unused NEEDS_MANUAL_RELOC code bits
The last user of the NEEDS_MANUAL_RELOC has been removed in commit
26af162ac8
("arch: m68k: Implement relocation")
Remove now unused NEEDS_MANUAL_RELOC code.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
7b8c61df20
commit
2c77bb838e
1 changed files with 0 additions and 6 deletions
|
@ -201,12 +201,6 @@ static int __init compr_init(struct ubifs_compressor *compr)
|
||||||
{
|
{
|
||||||
ubifs_compressors[compr->compr_type] = 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) {
|
if (compr->capi_name) {
|
||||||
compr->cc = crypto_alloc_comp(compr->capi_name, 0, 0);
|
compr->cc = crypto_alloc_comp(compr->capi_name, 0, 0);
|
||||||
if (IS_ERR(compr->cc)) {
|
if (IS_ERR(compr->cc)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue