From 116d9f29534e2e4bb0fb42743f12dc913110e922 Mon Sep 17 00:00:00 2001 From: mikeb Date: Wed, 20 May 2015 14:34:27 +0000 Subject: [PATCH] scrap unused ixgbe_get_link_capabilities_X540 --- sys/dev/pci/ixgbe_x540.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/sys/dev/pci/ixgbe_x540.c b/sys/dev/pci/ixgbe_x540.c index 23c6196316b..cab42555c45 100644 --- a/sys/dev/pci/ixgbe_x540.c +++ b/sys/dev/pci/ixgbe_x540.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ixgbe_x540.c,v 1.3 2014/08/25 14:26:25 mikeb Exp $ */ +/* $OpenBSD: ixgbe_x540.c,v 1.4 2015/05/20 14:34:27 mikeb Exp $ */ /****************************************************************************** @@ -42,9 +42,6 @@ int32_t ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); int32_t ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); -int32_t ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, - ixgbe_link_speed *speed, - bool *autoneg); enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw); int32_t ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool link_up_wait_to_complete); @@ -142,23 +139,6 @@ int32_t ixgbe_init_ops_X540(struct ixgbe_hw *hw) return ret_val; } -/** - * ixgbe_get_link_capabilities_X540 - Determines link capabilities - * @hw: pointer to hardware structure - * @speed: pointer to link speed - * @autoneg: TRUE when autoneg or autotry is enabled - * - * Determines the link capabilities by reading the AUTOC register. - **/ -int32_t ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, - ixgbe_link_speed *speed, - bool *autoneg) -{ - ixgbe_get_copper_link_capabilities_generic(hw, speed, autoneg); - - return IXGBE_SUCCESS; -} - /** * ixgbe_get_media_type_X540 - Get media type * @hw: pointer to hardware structure -- 2.20.1