diff options
author | Joe Perches <joe@perches.com> | 2011-08-29 17:17:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-13 15:45:02 -0400 |
commit | 246c0812049f92109ab9771e34480a2ce816f005 (patch) | |
tree | 84f0c6226386fa043cc06f94e9b60c6effc697f8 /net/rfkill/rfkill-regulator.c | |
parent | d15b84590a1d2ec021ada00a0e67ee5851a0ea2b (diff) |
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>
Diffstat (limited to 'net/rfkill/rfkill-regulator.c')
-rw-r--r-- | net/rfkill/rfkill-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rfkill/rfkill-regulator.c b/net/rfkill/rfkill-regulator.c index 18dc512a10f3..3ca7277a3c36 100644 --- a/net/rfkill/rfkill-regulator.c +++ b/net/rfkill/rfkill-regulator.c | |||
@@ -90,7 +90,6 @@ static int __devinit rfkill_regulator_probe(struct platform_device *pdev) | |||
90 | pdata->type, | 90 | pdata->type, |
91 | &rfkill_regulator_ops, rfkill_data); | 91 | &rfkill_regulator_ops, rfkill_data); |
92 | if (rf_kill == NULL) { | 92 | if (rf_kill == NULL) { |
93 | dev_err(&pdev->dev, "Cannot alloc rfkill device\n"); | ||
94 | ret = -ENOMEM; | 93 | ret = -ENOMEM; |
95 | goto err_rfkill_alloc; | 94 | goto err_rfkill_alloc; |
96 | } | 95 | } |