sfxge: remove unnecessary and wrong prediction

Sponsored by:   Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D2085
This commit is contained in:
arybchik 2015-03-23 15:53:26 +00:00
parent 1ea484ee69
commit ed76956a69

View File

@ -241,7 +241,7 @@ sfxge_port_wanted_fc_handler(SYSCTL_HANDLER_ARGS)
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);