svn commit: r294258 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Mon Jan 18 06:54:16 UTC 2016


Author: arybchik
Date: Mon Jan 18 06:54:15 2016
New Revision: 294258
URL: https://svnweb.freebsd.org/changeset/base/294258

Log:
  sfxge: fix unused function warning
  
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days

Modified:
  head/sys/dev/sfxge/common/hunt_nvram.c

Modified: head/sys/dev/sfxge/common/hunt_nvram.c
==============================================================================
--- head/sys/dev/sfxge/common/hunt_nvram.c	Mon Jan 18 06:45:45 2016	(r294257)
+++ head/sys/dev/sfxge/common/hunt_nvram.c	Mon Jan 18 06:54:15 2016	(r294258)
@@ -1636,6 +1636,7 @@ ef10_nvram_type_to_partn(
 	return (ENOTSUP);
 }
 
+#if EFSYS_OPT_DIAG
 
 static	__checkReturn		efx_rc_t
 ef10_nvram_partn_to_type(
@@ -1665,9 +1666,6 @@ ef10_nvram_partn_to_type(
 	return (ENOTSUP);
 }
 
-
-#if EFSYS_OPT_DIAG
-
 	__checkReturn		efx_rc_t
 ef10_nvram_test(
 	__in			efx_nic_t *enp)


More information about the svn-src-head mailing list