ixgbe: remove redundant function ixgbe_fw_recovery_mode()
authorYueHaibing <yuehaibing@huawei.com>
Fri, 7 Sep 2018 03:38:44 +0000 (11:38 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Oct 2018 19:28:04 +0000 (12:28 -0700)
There are no in-tree callers.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c

index 970f71d5da04bd8e6baa7213d296ac30f2b09edf..0bd1294ba51737240d510f31bbd255faceffeb11 100644 (file)
@@ -3484,17 +3484,6 @@ void ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf)
        IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof);
 }
 
-/**
- * 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