Re: [PATCH] arch: powerpc: kernel: sys_ppc32.c: Remove unused function

2014-12-07 Thread Paul Mackerras
On Sun, Dec 07, 2014 at 06:56:54PM +0100, Rickard Strandqvist wrote: > Remove the function compat_sys_mmap2() that is not used anywhere. It's referenced in 64-bit kernels from arch/powerpc/kernel/systbl.S, via the SYS32ONLY(mmap2) line in arch/powerpc/include/asm/systbl.h. Paul. -- To

[PATCH] arch: powerpc: kernel: sys_ppc32.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
Remove the function compat_sys_mmap2() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/powerpc/kernel/sys_ppc32.c |8 1 file changed, 8 deletions(-) diff --git

[PATCH] arch: powerpc: kernel: sys_ppc32.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
Remove the function compat_sys_mmap2() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/powerpc/kernel/sys_ppc32.c |8 1 file changed, 8

Re: [PATCH] arch: powerpc: kernel: sys_ppc32.c: Remove unused function

2014-12-07 Thread Paul Mackerras
On Sun, Dec 07, 2014 at 06:56:54PM +0100, Rickard Strandqvist wrote: Remove the function compat_sys_mmap2() that is not used anywhere. It's referenced in 64-bit kernels from arch/powerpc/kernel/systbl.S, via the SYS32ONLY(mmap2) line in arch/powerpc/include/asm/systbl.h. Paul. -- To unsubscribe