[PATCH] arm: mach-versatile: core: Remove unused function

Olof Johansson olof at lixom.net
Wed Jan 14 17:29:49 PST 2015


On Wed, Jan 14, 2015 at 12:53:07PM +0100, Linus Walleij wrote:
> On Sat, Jan 3, 2015 at 5:52 PM, Rickard Strandqvist
> <rickard_strandqvist at spectrumdigital.se> wrote:
> 
> > Remove the function versatile_leds_event() that is not used anywhere.
> >
> > This was partially found by using a static code analysis program called cppcheck.
> >
> > Signed-off-by: Rickard Strandqvist <rickard_strandqvist at spectrumdigital.se>
> 
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> 
> That's right, the code was made redundant in
> commit e031cd513ec2ff661465dc1198220075719e72d1
> "ARM: mach-realview and mach-versatile: retire custom LED code"
> 
> ARM SoC folks: I suggest you apply this patch directly to your cleanup
> branch.

Thanks, applied with a minor tweak to the patch subject.


-Olof



More information about the linux-arm-kernel mailing list