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

2014-12-07 Thread Rickard Strandqvist
Remove the function sys_debug_setcontext() 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/signal_32.c | 107

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

2014-12-07 Thread Richard Weinberger
Am 07.12.2014 um 23:07 schrieb Rickard Strandqvist: Remove the function sys_debug_setcontext() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Please don't blindly trust code analysis tools. The function you're removing *is* in

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

2014-12-07 Thread Rickard Strandqvist
Hi Ok, sorry :-( But I really do not. I've hacked together a script that will scan all the code for the function, and test builds with some different config options turned on. Kind regards Rickard Strandqvist 2014-12-07 23:18 GMT+01:00 Richard Weinberger rich...@nod.at: Am 07.12.2014 um

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

2014-12-07 Thread Richard Weinberger
Am 08.12.2014 um 00:11 schrieb Rickard Strandqvist: Hi Ok, sorry :-( But I really do not. I've hacked together a script that will scan all the code for the function, and test builds with some different config options turned on. Looks like you did not build a powerpc32 kernel. :-) FWIW,