forked from Minki/linux
ixgbe: Resolve "initialized field overwritten" warnings
Resolve warnings resulting from redundant initialization of the get_bus_info field in the mac_ops_X550* structures. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
7837e2867f
commit
990a2d6ed5
@ -1935,7 +1935,6 @@ static void ixgbe_set_source_address_pruning_X550(struct ixgbe_hw *hw,
|
||||
.get_mac_addr = &ixgbe_get_mac_addr_generic, \
|
||||
.get_device_caps = &ixgbe_get_device_caps_generic, \
|
||||
.stop_adapter = &ixgbe_stop_adapter_generic, \
|
||||
.get_bus_info = &ixgbe_get_bus_info_generic, \
|
||||
.set_lan_id = &ixgbe_set_lan_id_multi_port_pcie, \
|
||||
.read_analog_reg8 = NULL, \
|
||||
.write_analog_reg8 = NULL, \
|
||||
|
Loading…
Reference in New Issue
Block a user