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:
parent
d15b84590a
commit
246c081204
|
@ -90,7 +90,6 @@ static int __devinit rfkill_regulator_probe(struct platform_device *pdev)
|
|||
pdata->type,
|
||||
&rfkill_regulator_ops, rfkill_data);
|
||||
if (rf_kill == NULL) {
|
||||
dev_err(&pdev->dev, "Cannot alloc rfkill device\n");
|
||||
ret = -ENOMEM;
|
||||
goto err_rfkill_alloc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue