]> Git Repo - linux.git/commitdiff
ixgbe: Resolve "initialized field overwritten" warnings
authorMark Rustad <[email protected]>
Wed, 29 Jul 2015 23:00:38 +0000 (16:00 -0700)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
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, \
This page took 0.057403 seconds and 4 git commands to generate.