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: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
d15b84590a
commit
246c081204
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user