summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-06 23:30:00 +0200
committerTom Rini <trini@konsulko.com>2023-09-14 10:42:24 -0400
commit46bb8635be33b52d858e7aef771f25d1cd1d43f4 (patch)
tree5c97470912710973ece4b050e2cf45dd464ee52f /fs/fs.c
parentba377a6c2c4e9907a198837366bd80c032432bc7 (diff)
downloadu-boot-46bb8635be33b52d858e7aef771f25d1cd1d43f4.tar.gz
u-boot-46bb8635be33b52d858e7aef771f25d1cd1d43f4.tar.bz2
u-boot-46bb8635be33b52d858e7aef771f25d1cd1d43f4.zip
fs: 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/fs.c')
-rw-r--r--fs/fs.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 2b815b1db0..cfc781bbb8 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -422,22 +422,6 @@ int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype)
{
struct fstype_info *info;
int part, i;
-#ifdef CONFIG_NEEDS_MANUAL_RELOC
- static int relocated;
-
- if (!relocated) {
- for (i = 0, info = fstypes; i < ARRAY_SIZE(fstypes);
- i++, info++) {
- info->name += gd->reloc_off;
- info->probe += gd->reloc_off;
- info->close += gd->reloc_off;
- info->ls += gd->reloc_off;
- info->read += gd->reloc_off;
- info->write += gd->reloc_off;
- }
- relocated = 1;
- }
-#endif
part = part_get_info_by_dev_and_name_or_num(ifname, dev_part_str, &fs_dev_desc,
&fs_partition, 1);