Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 06:54:15 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294258 - head/sys/dev/sfxge/common
Message-ID:  <201601180654.u0I6sFSQ050404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601180654.u0I6sFSQ050404>