rfkill: Remove unnecessary OOM logging messages
authorJoe Perches <joe@perches.com>
Mon, 29 Aug 2011 21:17:34 +0000 (14:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:45:02 +0000 (15:45 -0400)
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>
net/rfkill/rfkill-regulator.c

index 18dc512..3ca7277 100644 (file)
@@ -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;
        }