summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
diff options
context:
space:
mode:
authorJosh Hay <joshua.a.hay@intel.com>2012-12-15 03:28:24 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-01-31 21:47:58 -0800
commit99b76642ca28841fe71c870a3bfbcb164fe04388 (patch)
treed52fd8cbf281c3dfca1882931faf57b2473de602 /drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
parent3d292265603fe6d59407c6c6c017cc156e3d4011 (diff)
downloadop-kernel-dev-99b76642ca28841fe71c870a3bfbcb164fe04388.zip
op-kernel-dev-99b76642ca28841fe71c870a3bfbcb164fe04388.tar.gz
ixgbe: removed unused variable from setup_link_speed
Removes the autoneg parameter from the setup_link_speed functions. These functions do nothing with this parameter. Signed-off-by: Josh Hay <joshua.a.hay@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
index 71659ed..f4b2c0d 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
@@ -494,11 +494,9 @@ s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw)
* ixgbe_setup_phy_link_speed_generic - Sets the auto advertised capabilities
* @hw: pointer to hardware structure
* @speed: new link speed
- * @autoneg: true if autonegotiation enabled
**/
s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw,
ixgbe_link_speed speed,
- bool autoneg,
bool autoneg_wait_to_complete)
{
OpenPOWER on IntegriCloud