diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-05-15 00:43:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-15 04:52:50 +0200 |
commit | ba0f6b88a8376565997fc848a6a8be5109d739ee (patch) | |
tree | a3763c29804b24a6ccc03eae525d4ecd19bf89b7 /fs/binfmt_elf.c | |
parent | fs/binfmt_elf.c: free PT_INTERP filename ASAP (diff) | |
download | linux-ba0f6b88a8376565997fc848a6a8be5109d739ee.tar.xz linux-ba0f6b88a8376565997fc848a6a8be5109d739ee.zip |
fs/binfmt_elf.c: delete trailing "return;" in functions returning "void"
Link: http://lkml.kernel.org/r/20190314205042.GE18143@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r-- | fs/binfmt_elf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 7402cbd92046..09e76b25d833 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -1457,8 +1457,6 @@ static void fill_elf_header(struct elfhdr *elf, int segs, elf->e_ehsize = sizeof(struct elfhdr); elf->e_phentsize = sizeof(struct elf_phdr); elf->e_phnum = segs; - - return; } static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) @@ -1471,7 +1469,6 @@ static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) phdr->p_memsz = 0; phdr->p_flags = 0; phdr->p_align = 0; - return; } static void fill_note(struct memelfnote *note, const char *name, int type, @@ -1481,7 +1478,6 @@ static void fill_note(struct memelfnote *note, const char *name, int type, note->type = type; note->datasz = sz; note->data = data; - return; } /* |