summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2015-03-25 13:54:28 +0000
committerarybchik <arybchik@FreeBSD.org>2015-03-25 13:54:28 +0000
commit4d5b387571468c3f993e29082f88ee453cc2f778 (patch)
tree4ff758a0e6dc14acfb80662bbf51dd523355050f
parentdb5c720e7a8518940771f5e4e3bd84c1e4ed7fe9 (diff)
downloadFreeBSD-src-4d5b387571468c3f993e29082f88ee453cc2f778.zip
FreeBSD-src-4d5b387571468c3f993e29082f88ee453cc2f778.tar.gz
MFC: 280380
sfxge: remove unnecessary and wrong prediction Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2085
-rw-r--r--sys/dev/sfxge/sfxge_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/sfxge_port.c b/sys/dev/sfxge/sfxge_port.c
index e815eb2..fd1c20a 100644
--- a/sys/dev/sfxge/sfxge_port.c
+++ b/sys/dev/sfxge/sfxge_port.c
@@ -179,7 +179,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);
OpenPOWER on IntegriCloud