mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Greg Ungerer
parent
9ee24b2a38
commit
2f3196d49b
@@ -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) {
|
||||
|
Reference in New Issue
Block a user