svn commit: r280380 - head/sys/dev/sfxge

Andrew Rybchenko arybchik at FreeBSD.org
Mon Mar 23 15:53:27 UTC 2015


Author: arybchik
Date: Mon Mar 23 15:53:26 2015
New Revision: 280380
URL: https://svnweb.freebsd.org/changeset/base/280380

Log:
  sfxge: remove unnecessary and wrong prediction
  
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision: https://reviews.freebsd.org/D2085

Modified:
  head/sys/dev/sfxge/sfxge_port.c

Modified: head/sys/dev/sfxge/sfxge_port.c
==============================================================================
--- head/sys/dev/sfxge/sfxge_port.c	Mon Mar 23 15:52:57 2015	(r280379)
+++ head/sys/dev/sfxge/sfxge_port.c	Mon Mar 23 15:53:26 2015	(r280380)
@@ -241,7 +241,7 @@ sfxge_port_wanted_fc_handler(SYSCTL_HAND
 		SFXGE_PORT_LOCK(port);
 
 		if (port->wanted_fc != fcntl) {
-		    if (__predict_false(port->init_state == SFXGE_PORT_STARTED))
+			if (port->init_state == SFXGE_PORT_STARTED)
 				error = efx_mac_fcntl_set(sc->enp,
 							  port->wanted_fc,
 							  B_TRUE);


More information about the svn-src-head mailing list