diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-01-20 08:02:11 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-01-20 08:02:11 +0000 |
commit | b7871cb668108b8dec092fa74e5582566c75ca84 (patch) | |
tree | ea084e51e15d4853bd1377f14cf3fbb9d97bd5e3 /sys/dev/sfxge/common | |
parent | 95a756ad4dd23885d7fc840d837105d14e5ffaee (diff) | |
download | FreeBSD-src-b7871cb668108b8dec092fa74e5582566c75ca84.zip FreeBSD-src-b7871cb668108b8dec092fa74e5582566c75ca84.tar.gz |
MFC r293902
sfxge: cleanup: quieten efx_mcdi_read_resonse_header error reporting
The "mcdi_err_arg" probe still reports results of failed MCDI
commands, unless the caller invoked efx_mcdi_execute_quiet().
Submitted by: Andy Moreton <amoreton at solarflare.com>
Reviewed by: gnn
Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'sys/dev/sfxge/common')
-rw-r--r-- | sys/dev/sfxge/common/efx_mcdi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/sfxge/common/efx_mcdi.c b/sys/dev/sfxge/common/efx_mcdi.c index 7224c36..5ff37ce 100644 --- a/sys/dev/sfxge/common/efx_mcdi.c +++ b/sys/dev/sfxge/common/efx_mcdi.c @@ -462,15 +462,8 @@ efx_mcdi_read_response_header( return; fail3: - if (!emrp->emr_quiet) - EFSYS_PROBE(fail3); fail2: - if (!emrp->emr_quiet) - EFSYS_PROBE(fail2); fail1: - if (!emrp->emr_quiet) - EFSYS_PROBE1(fail1, efx_rc_t, rc); - emrp->emr_rc = rc; emrp->emr_out_length_used = 0; } |