sfxge: remove unnecessary and wrong prediction
Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D2085
This commit is contained in:
parent
1ea484ee69
commit
ed76956a69
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user