提交 eefb6b76 编写于 作者: J Jingoo Han 提交者: Guenter Roeck

hwmon: (s3c-hwmon) 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: NJean Delvare <jdelvare@suse.de>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 2f89b072
...@@ -285,10 +285,8 @@ static int s3c_hwmon_probe(struct platform_device *dev) ...@@ -285,10 +285,8 @@ static int s3c_hwmon_probe(struct platform_device *dev)
} }
hwmon = devm_kzalloc(&dev->dev, sizeof(struct s3c_hwmon), GFP_KERNEL); hwmon = devm_kzalloc(&dev->dev, sizeof(struct s3c_hwmon), GFP_KERNEL);
if (hwmon == NULL) { if (hwmon == NULL)
dev_err(&dev->dev, "no memory\n");
return -ENOMEM; return -ENOMEM;
}
platform_set_drvdata(dev, hwmon); platform_set_drvdata(dev, hwmon);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册