[PATCH 3/3] common/sfc_efx/base: fix compiler warning in PHY link getter
Ivan Malov
ivan.malov at arknetworks.am
Fri Jul 11 16:43:49 CEST 2025
Fixes: 2a5cf77e6de8 ("common/sfc_efx/base: provide PHY link get method on Medford4")
Suggested-by: Andy Moreton <andy.moreton at amd.com>
Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
Reviewed-by: Andy Moreton <andy.moreton at amd.com>
---
drivers/common/sfc_efx/base/medford4_phy.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/common/sfc_efx/base/medford4_phy.c b/drivers/common/sfc_efx/base/medford4_phy.c
index 9ba6dfbc10..16e6dd2d84 100644
--- a/drivers/common/sfc_efx/base/medford4_phy.c
+++ b/drivers/common/sfc_efx/base/medford4_phy.c
@@ -34,7 +34,6 @@ medford4_phy_get_link(
efx_np_handle_t nph = enp->en_port.ep_np_handle;
efx_np_link_state_t ls;
efx_np_mac_state_t ms;
- uint32_t fcntl;
efx_rc_t rc;
rc = efx_np_link_state(enp, nph, &ls);
--
2.39.5
More information about the dev
mailing list