Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 869f1c54 authored by Lucy Liu's avatar Lucy Liu Committed by David S. Miller
Browse files

ixgbe: Remove DPRINTK messages in DCB mode



Remove debug DPRINTK in DCB mode netlink interface.

Signed-off-by: default avatarLucy Liu <lucy.liu@intel.com>
Acked-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86e713a0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)