Commit 246c0812 authored by Joe Perches's avatar Joe Perches Committed by John W. Linville

rfkill: Remove unnecessary OOM logging messages

Removing unnecessary messages saves code and text.

Site specific OOM messages are duplications of a generic MM
out of memory message and aren't really useful, so just
delete them.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d15b8459
...@@ -90,7 +90,6 @@ static int __devinit rfkill_regulator_probe(struct platform_device *pdev) ...@@ -90,7 +90,6 @@ static int __devinit rfkill_regulator_probe(struct platform_device *pdev)
pdata->type, pdata->type,
&rfkill_regulator_ops, rfkill_data); &rfkill_regulator_ops, rfkill_data);
if (rf_kill == NULL) { if (rf_kill == NULL) {
dev_err(&pdev->dev, "Cannot alloc rfkill device\n");
ret = -ENOMEM; ret = -ENOMEM;
goto err_rfkill_alloc; goto err_rfkill_alloc;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment