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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to