From patchwork Mon Aug 29 21:17:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 1110802 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7TLNs15007225 for ; Mon, 29 Aug 2011 21:23:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755300Ab1H2VVE (ORCPT ); Mon, 29 Aug 2011 17:21:04 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:44884 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754173Ab1H2VVA (ORCPT ); Mon, 29 Aug 2011 17:21:00 -0400 Received: from [173.60.85.8] (account joe@perches.com HELO joe-laptop.perches.com) by labridge.com (CommuniGate Pro SMTP 5.0.14) with ESMTPA id 18078506; Mon, 29 Aug 2011 14:21:00 -0700 From: Joe Perches To: "John W. Linville" , Johannes Berg Cc: "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 15/24] rfkill: Remove unnecessary OOM logging messages Date: Mon, 29 Aug 2011 14:17:34 -0700 Message-Id: <0a0d9ce42d5d0bcef3517be27c2759350ca4e1f5.1314650069.git.joe@perches.com> X-Mailer: git-send-email 1.7.6.405.gc1be0 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 29 Aug 2011 21:23:55 +0000 (UTC) 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 --- 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 18dc512..3ca7277 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) 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; }