aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-17 03:05:16 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-20 21:29:46 -0400
commit8fc3dc5a3a17aa2b353886422bd89420619af211 (patch)
tree74a3290ad9621ff1c225b772df2c529c8feb5f43 /fs/binfmt_flat.c
parent54bf586e1f51018ba7624c851e7aa14cee0548d2 (diff)
__register_binfmt() made void
Just don't pass NULL to it - nobody does, anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_flat.c')
-rw-r--r--fs/binfmt_flat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 1bffbe0ed778..68affab88146 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -950,7 +950,8 @@ static int load_flat_binary(struct linux_binprm * bprm, struct pt_regs * regs)
950 950
951static int __init init_flat_binfmt(void) 951static int __init init_flat_binfmt(void)
952{ 952{
953 return register_binfmt(&flat_format); 953 register_binfmt(&flat_format);
954 return 0;
954} 955}
955 956
956/****************************************************************************/ 957/****************************************************************************/