[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180907033844.4876-1-yuehaibing@huawei.com>
Date: Fri, 7 Sep 2018 11:38:44 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <davem@...emloft.net>, <jeffrey.t.kirsher@...el.com>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<intel-wired-lan@...ts.osuosl.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH net-next] ixgbe: remove redundant function ixgbe_fw_recovery_mode()
There are no in-tree callers.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
index 970f71d..0bd1294 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
@@ -3485,17 +3485,6 @@ void ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf)
}
/**
- * ixgbe_fw_recovery_mode - Check if in FW NVM recovery mode
- * @hw: pointer to hardware structure
- */
-bool ixgbe_fw_recovery_mode(struct ixgbe_hw *hw)
-{
- if (hw->mac.ops.fw_recovery_mode)
- return hw->mac.ops.fw_recovery_mode(hw);
- return false;
-}
-
-/**
* ixgbe_get_device_caps_generic - Get additional device capabilities
* @hw: pointer to hardware structure
* @device_caps: the EEPROM word with the extra device capabilities
--
2.7.0
Powered by blists - more mailing lists