aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-04-09 08:57:31 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-04-09 08:57:31 +0000
commitdb739f1c194869c1f8a6886340e7548266fac831 (patch)
treede84b7b65c13472528060b1775975c2b37786680
parent6cff32b3c47ead614311e07e2ef7f91948c61307 (diff)
downloadsrc-db739f1c194869c1f8a6886340e7548266fac831.tar.gz
src-db739f1c194869c1f8a6886340e7548266fac831.zip
sfxge(4): Remove a double word in a few source code comments
- s/for for/for/ MFC after: 3 days
-rw-r--r--sys/dev/sfxge/common/ef10_phy.c2
-rw-r--r--sys/dev/sfxge/common/efx_mcdi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sfxge/common/ef10_phy.c b/sys/dev/sfxge/common/ef10_phy.c
index 6e8346c8fe46..be3f8caa2a09 100644
--- a/sys/dev/sfxge/common/ef10_phy.c
+++ b/sys/dev/sfxge/common/ef10_phy.c
@@ -393,7 +393,7 @@ ef10_phy_reconfigure(
PHY_CAP_PAUSE, (cap_mask >> EFX_PHY_CAP_PAUSE) & 0x1,
PHY_CAP_ASYM, (cap_mask >> EFX_PHY_CAP_ASYM) & 0x1,
PHY_CAP_AN, (cap_mask >> EFX_PHY_CAP_AN) & 0x1);
- /* Too many fields for for POPULATE macros, so insert this afterwards */
+ /* Too many fields for POPULATE macros, so insert this afterwards */
MCDI_IN_SET_DWORD_FIELD(req, SET_LINK_IN_CAP,
PHY_CAP_25000FDX, (cap_mask >> EFX_PHY_CAP_25000FDX) & 0x1);
MCDI_IN_SET_DWORD_FIELD(req, SET_LINK_IN_CAP,
diff --git a/sys/dev/sfxge/common/efx_mcdi.c b/sys/dev/sfxge/common/efx_mcdi.c
index 05f7b3946613..3f4f8882d010 100644
--- a/sys/dev/sfxge/common/efx_mcdi.c
+++ b/sys/dev/sfxge/common/efx_mcdi.c
@@ -1269,7 +1269,7 @@ fail1:
}
/*
- * Internal routines for for specific MCDI requests.
+ * Internal routines for specific MCDI requests.
*/
__checkReturn efx_rc_t