[PATCH 39/41] ARM: restart: lpc32xx & u300: remove unnecessary printk

Linus Walleij linus.walleij at linaro.org
Fri Nov 11 13:46:41 EST 2011


On Sun, Nov 6, 2011 at 6:53 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

> Remove the:
>        KERN_CRIT "RESET: Rebooting system\n" (lpc32xx)
>        KERN_CRIT "RESET: shutting down/rebooting system\n" (u300)
>
> printk from the restart handler; we already print such a message from
> kernel_restart() in kernel/sys.c:
>
>        KERN_EMERG "Restarting system.\n"
>
> so this is unnecessary.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

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

Thanks Russell,
Linus Walleij



More information about the linux-arm-kernel mailing list