Remove redundant check for CONFIG_MMU

The checks for CONFIG_MMU at this location are duplicated as all the code is
located inside a #ifndef CONFIG_MMU block. So the first conditional block will
always be included while the second never will.

Signed-off-by: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Christoph Egger and committed by Linus Torvalds 16a5b3c4 bc113f15

-7
-7
fs/binfmt_elf_fdpic.c
··· 1005 } 1006 } else if (!mm->start_data) { 1007 mm->start_data = seg->addr; 1008 - #ifndef CONFIG_MMU 1009 mm->end_data = seg->addr + phdr->p_memsz; 1010 - #endif 1011 } 1012 - 1013 - #ifdef CONFIG_MMU 1014 - if (seg->addr + phdr->p_memsz > mm->end_data) 1015 - mm->end_data = seg->addr + phdr->p_memsz; 1016 - #endif 1017 } 1018 1019 seg++;
··· 1005 } 1006 } else if (!mm->start_data) { 1007 mm->start_data = seg->addr; 1008 mm->end_data = seg->addr + phdr->p_memsz; 1009 } 1010 } 1011 1012 seg++;