Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: rtc-spear: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they duplicate
the MM subsystem generic OOM message.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jingoo Han and committed by
Linus Torvalds
681acc9f 5c336b0a

+1 -3
+1 -3
drivers/rtc/rtc-spear.c
··· 365 365 } 366 366 367 367 config = devm_kzalloc(&pdev->dev, sizeof(*config), GFP_KERNEL); 368 - if (!config) { 369 - dev_err(&pdev->dev, "out of memory\n"); 368 + if (!config) 370 369 return -ENOMEM; 371 - } 372 370 373 371 /* alarm irqs */ 374 372 irq = platform_get_irq(pdev, 0);