Commit ba0f6b88 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

fs/binfmt_elf.c: delete trailing "return;" in functions returning "void"

Link: http://lkml.kernel.org/r/20190314205042.GE18143@avx2Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cc338010
...@@ -1457,8 +1457,6 @@ static void fill_elf_header(struct elfhdr *elf, int segs, ...@@ -1457,8 +1457,6 @@ static void fill_elf_header(struct elfhdr *elf, int segs,
elf->e_ehsize = sizeof(struct elfhdr); elf->e_ehsize = sizeof(struct elfhdr);
elf->e_phentsize = sizeof(struct elf_phdr); elf->e_phentsize = sizeof(struct elf_phdr);
elf->e_phnum = segs; elf->e_phnum = segs;
return;
} }
static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) 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) ...@@ -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_memsz = 0;
phdr->p_flags = 0; phdr->p_flags = 0;
phdr->p_align = 0; phdr->p_align = 0;
return;
} }
static void fill_note(struct memelfnote *note, const char *name, int type, 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, ...@@ -1481,7 +1478,6 @@ static void fill_note(struct memelfnote *note, const char *name, int type,
note->type = type; note->type = type;
note->datasz = sz; note->datasz = sz;
note->data = data; note->data = data;
return;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment