svn commit: r339459 - head/sys/dev/ixl

Conrad Meyer cem at FreeBSD.org
Sat Oct 20 18:00:13 UTC 2018


Author: cem
Date: Sat Oct 20 18:00:12 2018
New Revision: 339459
URL: https://svnweb.freebsd.org/changeset/base/339459

Log:
  ixl/iavf(4): Fix GCC 6.4.0 build
  
  Don't define redundant prototypes.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/dev/ixl/if_iavf.c
  head/sys/dev/ixl/ixl_pf.h

Modified: head/sys/dev/ixl/if_iavf.c
==============================================================================
--- head/sys/dev/ixl/if_iavf.c	Sat Oct 20 17:48:05 2018	(r339458)
+++ head/sys/dev/ixl/if_iavf.c	Sat Oct 20 18:00:12 2018	(r339459)
@@ -126,7 +126,6 @@ static int	iavf_sysctl_queue_interrupt_table(SYSCTL_HA
 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 *);

Modified: head/sys/dev/ixl/ixl_pf.h
==============================================================================
--- head/sys/dev/ixl/ixl_pf.h	Sat Oct 20 17:48:05 2018	(r339458)
+++ head/sys/dev/ixl/ixl_pf.h	Sat Oct 20 18:00:12 2018	(r339459)
@@ -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 *);


More information about the svn-src-head mailing list