diff options
author | WANG Cong <wangcong@zeuux.org> | 2009-01-06 17:42:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 18:59:29 -0500 |
commit | 8cd3ac3aca3f2afe8570708066d64d893da468e8 (patch) | |
tree | ff8d828f3da57880e5d679f32485b5d77d5d3679 /fs/exec.c | |
parent | 4cb0e11b15d2badad455fcd538af0cccf05dc012 (diff) |
fs/exec.c: make do_coredump() void
No one cares do_coredump()'s return value, and also it seems that it
is also not necessary. So make it void.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1686,7 +1686,7 @@ int get_dumpable(struct mm_struct *mm) | |||
1686 | return (ret >= 2) ? 2 : ret; | 1686 | return (ret >= 2) ? 2 : ret; |
1687 | } | 1687 | } |
1688 | 1688 | ||
1689 | int do_coredump(long signr, int exit_code, struct pt_regs * regs) | 1689 | void do_coredump(long signr, int exit_code, struct pt_regs *regs) |
1690 | { | 1690 | { |
1691 | struct core_state core_state; | 1691 | struct core_state core_state; |
1692 | char corename[CORENAME_MAX_SIZE + 1]; | 1692 | char corename[CORENAME_MAX_SIZE + 1]; |
@@ -1842,5 +1842,5 @@ fail_unlock: | |||
1842 | put_cred(cred); | 1842 | put_cred(cred); |
1843 | coredump_finish(mm); | 1843 | coredump_finish(mm); |
1844 | fail: | 1844 | fail: |
1845 | return retval; | 1845 | return; |
1846 | } | 1846 | } |