mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
56ec54c70f
commit
1f4bb1bd2a
1 changed files with 4 additions and 0 deletions
|
|
@ -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 @@ fail1:
|
|||
return (rc);
|
||||
}
|
||||
|
||||
#endif /* EFSYS_OPT_VPD || EFSYS_OPT_NVRAM */
|
||||
|
||||
static __checkReturn efx_rc_t
|
||||
siena_board_cfg(
|
||||
__in efx_nic_t *enp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue