Skip to content

Commit

Permalink
ixgbe: Remove DPRINTK messages in DCB mode
Browse files Browse the repository at this point in the history
Remove debug DPRINTK in DCB mode netlink interface.

Signed-off-by: Lucy Liu <lucy.liu@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Lucy Liu authored and David S. Miller committed Jul 17, 2009
1 parent 86e713a commit 869f1c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/ixgbe/ixgbe_dcb_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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)
Expand Down

0 comments on commit 869f1c5

Please sign in to comment.