Author: arybchik
Date: Thu Jan 14 09:20:25 2016
New Revision: 293902
URL: https://svnweb.freebsd.org/changeset/base/293902

Log:
  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.
  MFC after:      2 days
  Differential Revision: https://reviews.freebsd.org/D4919

Modified:
  head/sys/dev/sfxge/common/efx_mcdi.c

Modified: head/sys/dev/sfxge/common/efx_mcdi.c
==============================================================================
--- head/sys/dev/sfxge/common/efx_mcdi.c        Thu Jan 14 09:19:28 2016        
(r293901)
+++ head/sys/dev/sfxge/common/efx_mcdi.c        Thu Jan 14 09:20:25 2016        
(r293902)
@@ -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;
 }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to