From patchwork Thu Jul 16 23:43:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirsher, Jeffrey T" X-Patchwork-Id: 29892 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id F1373B70C0 for ; Fri, 17 Jul 2009 09:49:51 +1000 (EST) Received: by ozlabs.org (Postfix) id E4584DDDA0; Fri, 17 Jul 2009 09:49:51 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 81AF6DDD1C for ; Fri, 17 Jul 2009 09:49:51 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933628AbZGPXtn (ORCPT ); Thu, 16 Jul 2009 19:49:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933234AbZGPXtn (ORCPT ); Thu, 16 Jul 2009 19:49:43 -0400 Received: from qmta08.westchester.pa.mail.comcast.net ([76.96.62.80]:36609 "EHLO QMTA08.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933219AbZGPXtm (ORCPT ); Thu, 16 Jul 2009 19:49:42 -0400 X-Greylist: delayed 351 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Jul 2009 19:49:42 EDT Received: from OMTA23.westchester.pa.mail.comcast.net ([76.96.62.74]) by QMTA08.westchester.pa.mail.comcast.net with comcast id Gk9G1c04z1c6gX858njr20; Thu, 16 Jul 2009 23:43:52 +0000 Received: from localhost.localdomain ([63.64.152.142]) by OMTA23.westchester.pa.mail.comcast.net with comcast id GnlM1c00934bfcX3jnlQvE; Thu, 16 Jul 2009 23:45:39 +0000 From: Jeff Kirsher Subject: [net-2.6 PATCH 2/2] ixgbe: Remove DPRINTK messages in DCB mode To: davem@davemloft.net Cc: netdev@vger.kernel.org, gospo@redhat.com, Lucy Liu , Peter P Waskiewicz Jr , Jeff Kirsher Date: Thu, 16 Jul 2009 16:43:31 -0700 Message-ID: <20090716234331.23595.48405.stgit@localhost.localdomain> In-Reply-To: <20090716234303.23595.85275.stgit@localhost.localdomain> References: <20090716234303.23595.85275.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Lucy Liu Remove debug DPRINTK in DCB mode netlink interface. Signed-off-by: Lucy Liu Acked-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher --- drivers/net/ixgbe/ixgbe_dcb_nl.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/ixgbe/ixgbe_dcb_nl.c b/drivers/net/ixgbe/ixgbe_dcb_nl.c index 5b8dab2..da2c851 100644 --- a/drivers/net/ixgbe/ixgbe_dcb_nl.c +++ b/drivers/net/ixgbe/ixgbe_dcb_nl.c @@ -106,8 +106,6 @@ static u8 ixgbe_dcbnl_get_state(struct net_device *netdev) { struct ixgbe_adapter *adapter = netdev_priv(netdev); - DPRINTK(DRV, INFO, "Get DCB Admin Mode.\n"); - return !!(adapter->flags & IXGBE_FLAG_DCB_ENABLED); } @@ -116,8 +114,6 @@ static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state) u8 err = 0; struct ixgbe_adapter *adapter = netdev_priv(netdev); - DPRINTK(DRV, INFO, "Set DCB Admin Mode.\n"); - if (state > 0) { /* Turn on DCB */ if (adapter->flags & IXGBE_FLAG_DCB_ENABLED)