dect
/
linux-2.6
Archived
13
0
Fork 0

e1000e: cleanup e1000_set_phys_id

Use the existing hw pointer.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Bruce Allan 2012-01-31 06:37:38 +00:00 committed by Jeff Kirsher
parent 66092f5925
commit f23efdff77
1 changed files with 2 additions and 2 deletions

View File

@ -1856,11 +1856,11 @@ static int e1000_set_phys_id(struct net_device *netdev,
break;
case ETHTOOL_ID_ON:
adapter->hw.mac.ops.led_on(&adapter->hw);
hw->mac.ops.led_on(hw);
break;
case ETHTOOL_ID_OFF:
adapter->hw.mac.ops.led_off(&adapter->hw);
hw->mac.ops.led_off(hw);
break;
}
return 0;