diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-13 09:08:48 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@kernel.org> | 2019-06-24 09:16:46 +1000 |
commit | 2f3196d49b1e10f1d4bc64cce00dc95fde2b0ce1 (patch) | |
tree | f802c4ac374faf1154f1b672df23095d36000bbc /fs | |
parent | 9ee24b2a38358acbe004640776520a093ac34642 (diff) | |
download | linux-stable-2f3196d49b1e10f1d4bc64cce00dc95fde2b0ce1.tar.gz linux-stable-2f3196d49b1e10f1d4bc64cce00dc95fde2b0ce1.tar.bz2 linux-stable-2f3196d49b1e10f1d4bc64cce00dc95fde2b0ce1.zip |
binfmt_flat: remove flat_set_persistent
This helper is a no-op on all architectures, remove it.
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 'fs')
-rw-r--r-- | fs/binfmt_flat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index afddea583999..a4c0b245ab1f 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -787,8 +787,6 @@ static int load_flat_file(struct linux_binprm *bprm, if (get_user(relval, reloc + i)) return -EFAULT; relval = ntohl(relval); - if (flat_set_persistent(relval, &persistent)) - continue; addr = flat_get_relocate_addr(relval); rp = (u32 __user *)calc_reloc(addr, libinfo, id, 1); if (rp == (u32 __user *)RELOC_FAILED) { |