git: db739f1c1948 - main - sfxge(4): Remove a double word in a few source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 08:58:09 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=db739f1c194869c1f8a6886340e7548266fac831
commit db739f1c194869c1f8a6886340e7548266fac831
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 08:57:31 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 08:57:31 +0000
sfxge(4): Remove a double word in a few source code comments
- s/for for/for/
MFC after: 3 days
---
sys/dev/sfxge/common/ef10_phy.c | 2 +-
sys/dev/sfxge/common/efx_mcdi.c | 2 +-
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