Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11.5
[deb_dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
efx_port.c
diff --git
a/drivers/net/sfc/base/efx_port.c
b/drivers/net/sfc/base/efx_port.c
index
ec8a157
..
7584e5a
100644
(file)
--- a/
drivers/net/sfc/base/efx_port.c
+++ b/
drivers/net/sfc/base/efx_port.c
@@
-61,7
+61,7
@@
efx_port_init(
epp->ep_emop->emo_reconfigure(enp);
/* Pick up current phy capababilities */
epp->ep_emop->emo_reconfigure(enp);
/* Pick up current phy capababilities */
- efx_port_poll(enp, NULL);
+
(void)
efx_port_poll(enp, NULL);
/*
* Turn on the PHY if available, otherwise reset it, and
/*
* Turn on the PHY if available, otherwise reset it, and
@@
-109,7
+109,6
@@
efx_port_poll(
EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
EFSYS_ASSERT(emop != NULL);
EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
EFSYS_ASSERT(emop != NULL);
- EFSYS_ASSERT(!epp->ep_mac_stats_pending);
if (link_modep == NULL)
link_modep = &ignore_link_mode;
if (link_modep == NULL)
link_modep = &ignore_link_mode;