Le Tuesday 11 February 2014 à 15:48 +0900, Jingoo Han a écrit : > The site-specific OOM messages are unnecessary, because they > duplicate the MM subsystem generic OOM message. > > Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> > --- > drivers/watchdog/at32ap700x_wdt.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/watchdog/at32ap700x_wdt.c b/drivers/watchdog/at32ap700x_wdt.c > index afe7d17..25b5c67 100644 > --- a/drivers/watchdog/at32ap700x_wdt.c > +++ b/drivers/watchdog/at32ap700x_wdt.c > @@ -323,10 +323,8 @@ static int __init at32_wdt_probe(struct platform_device *pdev) > > wdt = devm_kzalloc(&pdev->dev, sizeof(struct wdt_at32ap700x), > GFP_KERNEL); > - if (!wdt) { > - dev_dbg(&pdev->dev, "no memory for wdt structure\n"); > + if (!wdt) > return -ENOMEM; > - } > > wdt->regs = devm_ioremap(&pdev->dev, regs->start, resource_size(regs)); > if (!wdt->regs) { Reviewed-by: Jean Delvare <jdelvare@xxxxxxx> -- Jean Delvare Suse L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html