ixgbe: Resolve "initialized field overwritten" warnings
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c +0 -1
@@ -2266,7 +2266,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, \
Schmitt
PATCH 1/1 ixgbe: Resolve "initialized field overwritten" warnings
Quoted 10 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Mark D Rustad
Sent: Wednesday, July 29, 2015 4:01 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] ixgbe: Resolve "initialized field overwritten" warnings
Quoted 4 lines
Resolve warnings resulting from redundant initialization of the
get_bus_infofield in the mac_ops_X550* structures.Signed-off-by Mark Rustad <[email protected]>
Tested-by Phil Schmitt <[email protected]>