ARM: pxa: remove sharpsl_fatal_check function
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 Apr 2012 13:53:06 +0000 (13:53 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 4 Oct 2012 08:20:22 +0000 (10:20 +0200)
commit066258f4293128bb489e42790637dd6d9b7ff206
tree58e22ab12cac208aa86a84329691d3f4f5f66455
parent30bda0ebef512af996a079977488ea52a0ff1646
ARM: pxa: remove sharpsl_fatal_check function

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@arndb.de>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Stanislav Brabec <utx@penguin.cz>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/sharpsl_pm.c