elf: delete trailing "return;" in functions returning "void"
Subsystems (2)
PATCH 1/1 elf: delete trailing "return;" in functions returning "void"
Signed-off-by Alexey Dobriyan <[email protected]>
---
fs/binfmt_elf.c | 4 ---- 1 file changed, 4 deletions(-)
fs/binfmt_elf.c +0 -4
@@ -1456,8 +1456,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)
@@ -1470,7 +1468,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,
@@ -1480,7 +1477,6 @@ static void fill_note(struct memelfnote *note, const char *name, int type, note->type = type; note->datasz = sz; note->data = data; -return ; }/*