[PATCH 2/2] mfd: ab8500-debugfs: remove unused function

Linus Walleij linus.walleij at linaro.org
Tue Oct 4 05:14:11 PDT 2016


On Sat, Sep 24, 2016 at 7:36 AM, Baoyou Xie <baoyou.xie at linaro.org> wrote:

> We get 1 warning when building kernel with W=1:
> drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for 'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes]
>
> In fact, this function is called by no one and not exported,
> so this patch removes it.
>
> Signed-off-by: Baoyou Xie <baoyou.xie at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list