sfxge(4): fix defined-but-not-used warning if neither VPD nor NVRAM opt enabled

Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
This commit is contained in:
Andrew Rybchenko 2016-12-28 11:28:16 +00:00
parent 56ec54c70f
commit 1f4bb1bd2a

View File

@ -37,6 +37,8 @@ __FBSDID("$FreeBSD$");
#if EFSYS_OPT_SIENA
#if EFSYS_OPT_VPD || EFSYS_OPT_NVRAM
static __checkReturn efx_rc_t
siena_nic_get_partn_mask(
__in efx_nic_t *enp,
@ -78,6 +80,8 @@ siena_nic_get_partn_mask(
return (rc);
}
#endif /* EFSYS_OPT_VPD || EFSYS_OPT_NVRAM */
static __checkReturn efx_rc_t
siena_board_cfg(
__in efx_nic_t *enp)