compat_binfmt_elf: don't bother with undef of ELF_ARCH
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Dec 2020 19:03:08 +0000 (14:03 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 6 Jan 2021 13:42:50 +0000 (08:42 -0500)
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>
fs/compat_binfmt_elf.c

index a6321415aba01ff8b11c16e34a8a97b97d651f12..e40bdbdc094f78f9b28d3c1a72ee022c68908da3 100644 (file)
@@ -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