Commit 4e458cfb authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

fm10k: address operator not needed when declaring function pointers

Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarKrishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 6186ddf0
...@@ -1867,38 +1867,38 @@ static const struct fm10k_msg_data fm10k_msg_data_pf[] = { ...@@ -1867,38 +1867,38 @@ static const struct fm10k_msg_data fm10k_msg_data_pf[] = {
}; };
static struct fm10k_mac_ops mac_ops_pf = { static struct fm10k_mac_ops mac_ops_pf = {
.get_bus_info = &fm10k_get_bus_info_generic, .get_bus_info = fm10k_get_bus_info_generic,
.reset_hw = &fm10k_reset_hw_pf, .reset_hw = fm10k_reset_hw_pf,
.init_hw = &fm10k_init_hw_pf, .init_hw = fm10k_init_hw_pf,
.start_hw = &fm10k_start_hw_generic, .start_hw = fm10k_start_hw_generic,
.stop_hw = &fm10k_stop_hw_generic, .stop_hw = fm10k_stop_hw_generic,
.update_vlan = &fm10k_update_vlan_pf, .update_vlan = fm10k_update_vlan_pf,
.read_mac_addr = &fm10k_read_mac_addr_pf, .read_mac_addr = fm10k_read_mac_addr_pf,
.update_uc_addr = &fm10k_update_uc_addr_pf, .update_uc_addr = fm10k_update_uc_addr_pf,
.update_mc_addr = &fm10k_update_mc_addr_pf, .update_mc_addr = fm10k_update_mc_addr_pf,
.update_xcast_mode = &fm10k_update_xcast_mode_pf, .update_xcast_mode = fm10k_update_xcast_mode_pf,
.update_int_moderator = &fm10k_update_int_moderator_pf, .update_int_moderator = fm10k_update_int_moderator_pf,
.update_lport_state = &fm10k_update_lport_state_pf, .update_lport_state = fm10k_update_lport_state_pf,
.update_hw_stats = &fm10k_update_hw_stats_pf, .update_hw_stats = fm10k_update_hw_stats_pf,
.rebind_hw_stats = &fm10k_rebind_hw_stats_pf, .rebind_hw_stats = fm10k_rebind_hw_stats_pf,
.configure_dglort_map = &fm10k_configure_dglort_map_pf, .configure_dglort_map = fm10k_configure_dglort_map_pf,
.set_dma_mask = &fm10k_set_dma_mask_pf, .set_dma_mask = fm10k_set_dma_mask_pf,
.get_fault = &fm10k_get_fault_pf, .get_fault = fm10k_get_fault_pf,
.get_host_state = &fm10k_get_host_state_pf, .get_host_state = fm10k_get_host_state_pf,
.adjust_systime = &fm10k_adjust_systime_pf, .adjust_systime = fm10k_adjust_systime_pf,
.read_systime = &fm10k_read_systime_pf, .read_systime = fm10k_read_systime_pf,
}; };
static struct fm10k_iov_ops iov_ops_pf = { static struct fm10k_iov_ops iov_ops_pf = {
.assign_resources = &fm10k_iov_assign_resources_pf, .assign_resources = fm10k_iov_assign_resources_pf,
.configure_tc = &fm10k_iov_configure_tc_pf, .configure_tc = fm10k_iov_configure_tc_pf,
.assign_int_moderator = &fm10k_iov_assign_int_moderator_pf, .assign_int_moderator = fm10k_iov_assign_int_moderator_pf,
.assign_default_mac_vlan = fm10k_iov_assign_default_mac_vlan_pf, .assign_default_mac_vlan = fm10k_iov_assign_default_mac_vlan_pf,
.reset_resources = &fm10k_iov_reset_resources_pf, .reset_resources = fm10k_iov_reset_resources_pf,
.set_lport = &fm10k_iov_set_lport_pf, .set_lport = fm10k_iov_set_lport_pf,
.reset_lport = &fm10k_iov_reset_lport_pf, .reset_lport = fm10k_iov_reset_lport_pf,
.update_stats = &fm10k_iov_update_stats_pf, .update_stats = fm10k_iov_update_stats_pf,
.report_timestamp = &fm10k_iov_report_timestamp_pf, .report_timestamp = fm10k_iov_report_timestamp_pf,
}; };
static s32 fm10k_get_invariants_pf(struct fm10k_hw *hw) static s32 fm10k_get_invariants_pf(struct fm10k_hw *hw)
...@@ -1910,7 +1910,7 @@ static s32 fm10k_get_invariants_pf(struct fm10k_hw *hw) ...@@ -1910,7 +1910,7 @@ static s32 fm10k_get_invariants_pf(struct fm10k_hw *hw)
struct fm10k_info fm10k_pf_info = { struct fm10k_info fm10k_pf_info = {
.mac = fm10k_mac_pf, .mac = fm10k_mac_pf,
.get_invariants = &fm10k_get_invariants_pf, .get_invariants = fm10k_get_invariants_pf,
.mac_ops = &mac_ops_pf, .mac_ops = &mac_ops_pf,
.iov_ops = &iov_ops_pf, .iov_ops = &iov_ops_pf,
}; };
...@@ -563,24 +563,24 @@ static const struct fm10k_msg_data fm10k_msg_data_vf[] = { ...@@ -563,24 +563,24 @@ static const struct fm10k_msg_data fm10k_msg_data_vf[] = {
}; };
static struct fm10k_mac_ops mac_ops_vf = { static struct fm10k_mac_ops mac_ops_vf = {
.get_bus_info = &fm10k_get_bus_info_generic, .get_bus_info = fm10k_get_bus_info_generic,
.reset_hw = &fm10k_reset_hw_vf, .reset_hw = fm10k_reset_hw_vf,
.init_hw = &fm10k_init_hw_vf, .init_hw = fm10k_init_hw_vf,
.start_hw = &fm10k_start_hw_generic, .start_hw = fm10k_start_hw_generic,
.stop_hw = &fm10k_stop_hw_vf, .stop_hw = fm10k_stop_hw_vf,
.update_vlan = &fm10k_update_vlan_vf, .update_vlan = fm10k_update_vlan_vf,
.read_mac_addr = &fm10k_read_mac_addr_vf, .read_mac_addr = fm10k_read_mac_addr_vf,
.update_uc_addr = &fm10k_update_uc_addr_vf, .update_uc_addr = fm10k_update_uc_addr_vf,
.update_mc_addr = &fm10k_update_mc_addr_vf, .update_mc_addr = fm10k_update_mc_addr_vf,
.update_xcast_mode = &fm10k_update_xcast_mode_vf, .update_xcast_mode = fm10k_update_xcast_mode_vf,
.update_int_moderator = &fm10k_update_int_moderator_vf, .update_int_moderator = fm10k_update_int_moderator_vf,
.update_lport_state = &fm10k_update_lport_state_vf, .update_lport_state = fm10k_update_lport_state_vf,
.update_hw_stats = &fm10k_update_hw_stats_vf, .update_hw_stats = fm10k_update_hw_stats_vf,
.rebind_hw_stats = &fm10k_rebind_hw_stats_vf, .rebind_hw_stats = fm10k_rebind_hw_stats_vf,
.configure_dglort_map = &fm10k_configure_dglort_map_vf, .configure_dglort_map = fm10k_configure_dglort_map_vf,
.get_host_state = &fm10k_get_host_state_generic, .get_host_state = fm10k_get_host_state_generic,
.adjust_systime = &fm10k_adjust_systime_vf, .adjust_systime = fm10k_adjust_systime_vf,
.read_systime = &fm10k_read_systime_vf, .read_systime = fm10k_read_systime_vf,
}; };
static s32 fm10k_get_invariants_vf(struct fm10k_hw *hw) static s32 fm10k_get_invariants_vf(struct fm10k_hw *hw)
...@@ -592,6 +592,6 @@ static s32 fm10k_get_invariants_vf(struct fm10k_hw *hw) ...@@ -592,6 +592,6 @@ static s32 fm10k_get_invariants_vf(struct fm10k_hw *hw)
struct fm10k_info fm10k_vf_info = { struct fm10k_info fm10k_vf_info = {
.mac = fm10k_mac_vf, .mac = fm10k_mac_vf,
.get_invariants = &fm10k_get_invariants_vf, .get_invariants = fm10k_get_invariants_vf,
.mac_ops = &mac_ops_vf, .mac_ops = &mac_ops_vf,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment