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

clocksource: em_sti: 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>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Jingoo Han and committed by
Daniel Lezcano
39dd5677 0d24d1f2

+1 -3
+1 -3
drivers/clocksource/em_sti.c
··· 318 318 int irq; 319 319 320 320 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); 321 - if (p == NULL) { 322 - dev_err(&pdev->dev, "failed to allocate driver data\n"); 321 + if (p == NULL) 323 322 return -ENOMEM; 324 - } 325 323 326 324 p->pdev = pdev; 327 325 platform_set_drvdata(pdev, p);