From 1f71b44df79e2fe50df6798cdf524ec2c4c84f54 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 20 Oct 2018 18:00:12 +0000 Subject: [PATCH] ixl/iavf(4): Fix GCC 6.4.0 build Don't define redundant prototypes. Sponsored by: Dell EMC Isilon --- sys/dev/ixl/if_iavf.c | 1 - sys/dev/ixl/ixl_pf.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/sys/dev/ixl/if_iavf.c b/sys/dev/ixl/if_iavf.c index da156588579b..3120433a7d87 100644 --- a/sys/dev/ixl/if_iavf.c +++ b/sys/dev/ixl/if_iavf.c @@ -126,7 +126,6 @@ static int iavf_sysctl_queue_interrupt_table(SYSCTL_HANDLER_ARGS); static int iavf_sysctl_vf_reset(SYSCTL_HANDLER_ARGS); static int iavf_sysctl_vflr_reset(SYSCTL_HANDLER_ARGS); -char *iavf_vc_speed_to_string(enum virtchnl_link_speed link_speed); static void iavf_save_tunables(struct iavf_sc *); static enum i40e_status_code iavf_process_adminq(struct iavf_sc *, u16 *); diff --git a/sys/dev/ixl/ixl_pf.h b/sys/dev/ixl/ixl_pf.h index 35d1cf4679fa..99992e1ec608 100644 --- a/sys/dev/ixl/ixl_pf.h +++ b/sys/dev/ixl/ixl_pf.h @@ -267,9 +267,6 @@ char * ixl_switch_element_string(struct sbuf *, struct i40e_aqc_switch_config_element_resp *); void ixl_add_sysctls_mac_stats(struct sysctl_ctx_list *, struct sysctl_oid_list *, struct i40e_hw_port_stats *); -void ixl_add_sysctls_eth_stats(struct sysctl_ctx_list *, - struct sysctl_oid_list *, - struct i40e_eth_stats *); void ixl_media_status(struct ifnet *, struct ifmediareq *); int ixl_media_change(struct ifnet *);