summaryrefslogtreecommitdiff
path: root/fs/compat_binfmt_elf.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-12-04 14:03:08 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2021-01-06 08:42:50 -0500
commit492ed38192fccb92022b7a6d3b2751a09a3494c6 (patch)
tree8dc743a09f7ef2c3fcb7de198797e0ad738d4478 /fs/compat_binfmt_elf.c
parent41026c343540e33627e23c8a91ebb679a7c0f89c (diff)
compat_binfmt_elf: don't bother with undef of ELF_ARCH
It's not used anywhere downstream (and never had been, AFAICS). Theoretically, fs/binfmt_elf.c does use it, but only in the non-regset coredump handling and all biarch architectures end up with that ifdefed out. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
-rw-r--r--fs/compat_binfmt_elf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c
index a6321415aba0..e40bdbdc094f 100644
--- a/fs/compat_binfmt_elf.c
+++ b/fs/compat_binfmt_elf.c
@@ -62,7 +62,6 @@
* differ from the native ones, or omitted when they match.
*/
-#undef ELF_ARCH
#undef elf_check_arch
#define elf_check_arch compat_elf_check_arch