summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-13 09:09:00 +0200
committerGreg Ungerer <gerg@kernel.org>2019-06-24 01:16:47 +0200
commit6843d8aa5b9bc61df8787801f19f538123724bfa (patch)
tree1a6635d02e73a610853fd7004ce4ea01de22c12b /arch/c6x
parentbinfmt_flat: provide an asm-generic/flat.h (diff)
downloadlinux-6843d8aa5b9bc61df8787801f19f538123724bfa.tar.xz
linux-6843d8aa5b9bc61df8787801f19f538123724bfa.zip
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 'arch/c6x')
-rw-r--r--arch/c6x/include/asm/flat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/c6x/include/asm/flat.h b/arch/c6x/include/asm/flat.h
index 2d57a9204d21..9e6544b51386 100644
--- a/arch/c6x/include/asm/flat.h
+++ b/arch/c6x/include/asm/flat.h
@@ -5,7 +5,7 @@
#include <asm/unaligned.h>
static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
- u32 *addr, u32 *persistent)
+ u32 *addr)
{
*addr = get_unaligned((__force u32 *)rp);
return 0;