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:
parent
8bead349c6
commit
fff3eeb0a6
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user