net/ixgbe/base: remove a compiler warning

Remove warning for "mac->led_link_act = i" where led_link_act is u8.

Signed-off-by: Wei Dai <wei.dai@intel.com>
This commit is contained in:
Wei Dai 2017-01-12 22:53:26 +08:00 committed by Ferruh Yigit
parent 8bead349c6
commit fff3eeb0a6

View File

@ -1150,7 +1150,7 @@ s32 ixgbe_init_led_link_act_generic(struct ixgbe_hw *hw)
{
struct ixgbe_mac_info *mac = &hw->mac;
u32 led_reg, led_mode;
u16 i;
u8 i;
led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL);