summaryrefslogtreecommitdiff
path: root/include/asm-generic/flat.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-13 10:09:00 +0300
committerGreg Ungerer <gerg@kernel.org>2019-06-24 02:16:47 +0300
commit6843d8aa5b9bc61df8787801f19f538123724bfa (patch)
tree1a6635d02e73a610853fd7004ce4ea01de22c12b /include/asm-generic/flat.h
parent7a8998c9d830b59626e049a827678ba444fcf8e2 (diff)
downloadlinux-6843d8aa5b9bc61df8787801f19f538123724bfa.tar.xz
binfmt_flat: remove the persistent argument from flat_get_addr_from_rp
The argument is never used. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'include/asm-generic/flat.h')
-rw-r--r--include/asm-generic/flat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/flat.h b/include/asm-generic/flat.h
index fcd2b45c0735..1928a3596938 100644
--- a/include/asm-generic/flat.h
+++ b/include/asm-generic/flat.h
@@ -5,7 +5,7 @@
#include <linux/uaccess.h>
static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
- u32 *addr, u32 *persistent)
+ u32 *addr)
{
#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
return copy_from_user(addr, rp, 4) ? -EFAULT : 0;