sfxge: remove unnecessary and wrong prediction
Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D2085
This commit is contained in:
parent
63424713e5
commit
cc5a55a29d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280380
@ -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