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

Linus Walleij linus.walleij at linaro.org
Wed Jan 14 03:53:07 PST 2015


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.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list