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>
This commit is contained in:
Jingoo Han 2014-05-22 14:05:06 +02:00 committed by Daniel Lezcano
parent 0d24d1f249
commit 39dd56776e

View File

@ -318,10 +318,8 @@ static int em_sti_probe(struct platform_device *pdev)
int irq;
p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
if (p == NULL) {
dev_err(&pdev->dev, "failed to allocate driver data\n");
if (p == NULL)
return -ENOMEM;
}
p->pdev = pdev;
platform_set_drvdata(pdev, p);