mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
sfxge: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
b338b1fd50
commit
19447fc488
|
@ -1179,7 +1179,11 @@ efx_mcdi_read_assertion(
|
|||
efx_mcdi_req_t req;
|
||||
EFX_MCDI_DECLARE_BUF(payload, MC_CMD_GET_ASSERTS_IN_LEN,
|
||||
MC_CMD_GET_ASSERTS_OUT_LEN);
|
||||
#ifdef KDTRACE_HOOKS
|
||||
const char *reason;
|
||||
#else
|
||||
const char *reason __unused;
|
||||
#endif
|
||||
unsigned int flags;
|
||||
unsigned int index;
|
||||
unsigned int ofst;
|
||||
|
|
|
@ -586,6 +586,7 @@ siena_phy_stats_update(
|
|||
siena_phy_decode_stats(enp, vmask, esmp, &smask, stat);
|
||||
EFSYS_ASSERT(smask == encp->enc_phy_stat_mask);
|
||||
|
||||
(void)rc; /* XXX? */
|
||||
return (0);
|
||||
|
||||
fail2:
|
||||
|
|
Loading…
Reference in a new issue