Skip to contentSkip to conversation

ixgbe: Resolve "initialized field overwritten" warnings

PATCH New Mark D Rustad 2 participants 2 messages Jul 29, 2015 – Aug 6, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c |    1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c +0 -1
index b1a895a96640..eca8a29ea683 100644
@@ -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, \
#1 lore raw

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_info field in the mac_ops_X550* structures.