Re: [PATCH 05/17] ARM: pxa: remove sharpsl_fatal_check function

From: Haojian Zhuang
Date: Sun Oct 07 2012 - 23:19:21 EST


On Mon, Oct 8, 2012 at 10:38 AM, Eric Miao <eric.y.miao@xxxxxxxxx> wrote:
> On Wed, Oct 3, 2012 at 12:36 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
>> The sharpsl_fatal_check has not been used since Pavel Machek removed
>> the caller in 99f329a2b "pxa/sharpsl_pm: zaurus c3000 aka spitz: fix
>> resume". Nobody has complained since 2009, so it's safe to assume we
>> can just remove the function.
>>
>> Without this patch, building corgi_defconfig results in:
>>
>> /home/arnd/linux-arm/arch/arm/mach-pxa/sharpsl_pm.c:693:12: warning: 'sharpsl_fatal_check' defined but not used [-Wunused-function]
>>
>> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>> Cc: Pavel Machek <pavel@xxxxxx>
>> Cc: Stanislav Brabec <utx@xxxxxxxxxx>
>> Cc: Eric Miao <eric.y.miao@xxxxxxxxx>
>> Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
>
> Acked-by: Eric Miao <eric.y.miao@xxxxxxxxx>
>
> Let's get it cleaned up firstly. One can always reference the history for a
> sample implementation later if this is needed in the future.
>
Acked-by: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/