ixgbe: Resolve "initialized field overwritten" warnings
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 29 Jul 2015 23:00:38 +0000 (16:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Sep 2015 00:20:02 +0000 (17:20 -0700)
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c

index 96f603f435eeded8e6474c6198fbea27acd8832c..9fe9445cd73b0061d5c2c0a7dd1f405b01f1d200 100644 (file)
@@ -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, \