提交 814876b0 编写于 作者: J Jingoo Han 提交者: Daniel Lezcano

clocksource: sh_tmu: Remove unnecessary OOM messages

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

[dlezcano] : refreshed against latest modifications: kmalloc -> kzalloc
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
上级 c77a565b
...@@ -644,10 +644,8 @@ static int sh_tmu_probe(struct platform_device *pdev) ...@@ -644,10 +644,8 @@ static int sh_tmu_probe(struct platform_device *pdev)
} }
tmu = kzalloc(sizeof(*tmu), GFP_KERNEL); tmu = kzalloc(sizeof(*tmu), GFP_KERNEL);
if (tmu == NULL) { if (tmu == NULL)
dev_err(&pdev->dev, "failed to allocate driver data\n");
return -ENOMEM; return -ENOMEM;
}
ret = sh_tmu_setup(tmu, pdev); ret = sh_tmu_setup(tmu, pdev);
if (ret) { if (ret) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册