mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 14:38:58 +00:00
fs: 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
ba377a6c2c
commit
46bb8635be
1 changed files with 0 additions and 16 deletions
16
fs/fs.c
16
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue