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

From: Linus Walleij
Date: Tue Oct 04 2016 - 08:14:29 EST


On Sat, Sep 24, 2016 at 7:36 AM, Baoyou Xie <baoyou.xie@xxxxxxxxxx> 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@xxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij