From patchwork Mon Aug 29 21:17:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 112141 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 6093BB6F90 for ; Tue, 30 Aug 2011 07:21:54 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755344Ab1H2VVc (ORCPT ); Mon, 29 Aug 2011 17:21:32 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:51319 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755187Ab1H2VV3 (ORCPT ); Mon, 29 Aug 2011 17:21:29 -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 18078517; Mon, 29 Aug 2011 14:21:29 -0700 From: Joe Perches To: Vlad Yasevich , Sridhar Samudrala Cc: "David S. Miller" , linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 18/24] sctp: Remove unnecessary OOM logging messages Date: Mon, 29 Aug 2011 14:17:37 -0700 Message-Id: <21b4d996c8861373ac77d427914ec7882fe0c83e.1314650069.git.joe@perches.com> X-Mailer: git-send-email 1.7.6.405.gc1be0 In-Reply-To: References: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Acked-by: Vlad Yasevich --- net/sctp/protocol.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 91784f4..0801444 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -1326,7 +1326,6 @@ SCTP_STATIC __init int sctp_init(void) __get_free_pages(GFP_ATOMIC|__GFP_NOWARN, order); } while (!sctp_assoc_hashtable && --order > 0); if (!sctp_assoc_hashtable) { - pr_err("Failed association hash alloc\n"); status = -ENOMEM; goto err_ahash_alloc; } @@ -1340,7 +1339,6 @@ SCTP_STATIC __init int sctp_init(void) sctp_ep_hashtable = (struct sctp_hashbucket *) kmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL); if (!sctp_ep_hashtable) { - pr_err("Failed endpoint_hash alloc\n"); status = -ENOMEM; goto err_ehash_alloc; } @@ -1359,7 +1357,6 @@ SCTP_STATIC __init int sctp_init(void) __get_free_pages(GFP_ATOMIC|__GFP_NOWARN, order); } while (!sctp_port_hashtable && --order > 0); if (!sctp_port_hashtable) { - pr_err("Failed bind hash alloc\n"); status = -ENOMEM; goto err_bhash_alloc; }