aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.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_x540.c
parentixgbe: rename autoneg variables (diff)
downloadlinux-dev-99b76642ca28841fe71c870a3bfbcb164fe04388.tar.xz
linux-dev-99b76642ca28841fe71c870a3bfbcb164fe04388.zip
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_x540.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
index c73b92993391..4ec501936b2f 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
@@ -79,7 +79,7 @@ static s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw,
ixgbe_link_speed speed, bool autoneg,
bool autoneg_wait_to_complete)
{
- return hw->phy.ops.setup_link_speed(hw, speed, autoneg,
+ return hw->phy.ops.setup_link_speed(hw, speed,
autoneg_wait_to_complete);
}