diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-17 03:05:16 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:46 -0400 |
commit | 8fc3dc5a3a17aa2b353886422bd89420619af211 (patch) | |
tree | 74a3290ad9621ff1c225b772df2c529c8feb5f43 /fs/binfmt_elf.c | |
parent | 54bf586e1f51018ba7624c851e7aa14cee0548d2 (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_elf.c')
-rw-r--r-- | fs/binfmt_elf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 07d096c49920..f8ac4251877e 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -2077,7 +2077,8 @@ out: | |||
2077 | 2077 | ||
2078 | static int __init init_elf_binfmt(void) | 2078 | static int __init init_elf_binfmt(void) |
2079 | { | 2079 | { |
2080 | return register_binfmt(&elf_format); | 2080 | register_binfmt(&elf_format); |
2081 | return 0; | ||
2081 | } | 2082 | } |
2082 | 2083 | ||
2083 | static void __exit exit_elf_binfmt(void) | 2084 | static void __exit exit_elf_binfmt(void) |