提交 834fa8a5 编写于 作者: J Jingoo Han 提交者: Brian Norris

mtd: devices: elm: Remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Acked-by: NPekon Gupta <pekon@ti.com>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 0a21552a
...@@ -354,10 +354,8 @@ static int elm_probe(struct platform_device *pdev) ...@@ -354,10 +354,8 @@ static int elm_probe(struct platform_device *pdev)
struct elm_info *info; struct elm_info *info;
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
if (!info) { if (!info)
dev_err(&pdev->dev, "failed to allocate memory\n");
return -ENOMEM; return -ENOMEM;
}
info->dev = &pdev->dev; info->dev = &pdev->dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册