From 492ed38192fccb92022b7a6d3b2751a09a3494c6 Mon Sep 17 00:00:00 2001
From: Al Viro <viro@zeniv.linux.org.uk>
Date: Fri, 4 Dec 2020 14:03:08 -0500
Subject: [PATCH] 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>
---
 fs/compat_binfmt_elf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c
index a6321415aba01..e40bdbdc094f7 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
 
-- 
GitLab