Skip to content

Commit 6b27f3d

Browse files
YueHaibingJeff Kirsher
authored andcommitted
ixgbe: remove redundant function ixgbe_fw_recovery_mode()
There are no in-tree callers. Signed-off-by: YueHaibing <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 8d7179b commit 6b27f3d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/net/ethernet/intel/ixgbe/ixgbe_common.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3484,17 +3484,6 @@ void ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf)
34843484
IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof);
34853485
}
34863486

3487-
/**
3488-
* ixgbe_fw_recovery_mode - Check if in FW NVM recovery mode
3489-
* @hw: pointer to hardware structure
3490-
*/
3491-
bool ixgbe_fw_recovery_mode(struct ixgbe_hw *hw)
3492-
{
3493-
if (hw->mac.ops.fw_recovery_mode)
3494-
return hw->mac.ops.fw_recovery_mode(hw);
3495-
return false;
3496-
}
3497-
34983487
/**
34993488
* ixgbe_get_device_caps_generic - Get additional device capabilities
35003489
* @hw: pointer to hardware structure

0 commit comments

Comments
 (0)