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>
This commit is contained in:
parent
5c336b0a7a
commit
681acc9f53
|
@ -365,10 +365,8 @@ static int spear_rtc_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
config = devm_kzalloc(&pdev->dev, sizeof(*config), GFP_KERNEL);
|
||||
if (!config) {
|
||||
dev_err(&pdev->dev, "out of memory\n");
|
||||
if (!config)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/* alarm irqs */
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user