Skip to content

Commit

Permalink
rfkill: Remove unnecessary OOM logging messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and John W. Linville committed Sep 13, 2011
1 parent d15b845 commit 246c081
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/rfkill/rfkill-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 246c081

Please sign in to comment.