summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorChristoph Hellwig2019-06-13 09:08:47 +0200
committerGreg Ungerer2019-06-24 01:16:46 +0200
commit9ee24b2a38358acbe004640776520a093ac34642 (patch)
treed0b7b8e313fc6ce1d26fcd5554c9f5ce607fa577 /arch/microblaze
parentLinux 5.2-rc6 (diff)
downloadkernel-qcow2-linux-9ee24b2a38358acbe004640776520a093ac34642.tar.gz
kernel-qcow2-linux-9ee24b2a38358acbe004640776520a093ac34642.tar.xz
kernel-qcow2-linux-9ee24b2a38358acbe004640776520a093ac34642.zip
binfmt_flat: remove flat_reloc_valid
This helper is the same for all architectures, open code it in the only caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/flat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/flat.h b/arch/microblaze/include/asm/flat.h
index 3d2747d4c967..34be5ed011be 100644
--- a/arch/microblaze/include/asm/flat.h
+++ b/arch/microblaze/include/asm/flat.h
@@ -15,7 +15,6 @@
#define flat_argvp_envp_on_stack() 0
#define flat_old_ram_flag(flags) (flags)
-#define flat_reloc_valid(reloc, size) ((reloc) <= (size))
#define flat_set_persistent(relval, p) 0
/*