Commit f23efdff authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

e1000e: cleanup e1000_set_phys_id

Use the existing hw pointer.
Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 66092f59
...@@ -1856,11 +1856,11 @@ static int e1000_set_phys_id(struct net_device *netdev, ...@@ -1856,11 +1856,11 @@ static int e1000_set_phys_id(struct net_device *netdev,
break; break;
case ETHTOOL_ID_ON: case ETHTOOL_ID_ON:
adapter->hw.mac.ops.led_on(&adapter->hw); hw->mac.ops.led_on(hw);
break; break;
case ETHTOOL_ID_OFF: case ETHTOOL_ID_OFF:
adapter->hw.mac.ops.led_off(&adapter->hw); hw->mac.ops.led_off(hw);
break; break;
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment