git: 060f5c02e94f - main - bhnd(4): Remove some double words in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 07:30:13 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=060f5c02e94fe66b67eaccc12ff875797bc180b7

commit 060f5c02e94fe66b67eaccc12ff875797bc180b7
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-08 18:57:15 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 07:26:50 +0000

    bhnd(4): Remove some double words in source code comments
    
    - s/be be/be/
    - s/is is/is/
    
    MFC after:      3 days
---
 sys/dev/bhnd/bhndb/bhndb.h            | 2 +-
 sys/dev/bhnd/cores/chipc/chipc.c      | 2 +-
 sys/dev/bhnd/nvram/bhnd_nvram_value.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/bhnd/bhndb/bhndb.h b/sys/dev/bhnd/bhndb/bhndb.h
index e53ac6deb4d0..59b237e07756 100644
--- a/sys/dev/bhnd/bhndb/bhndb.h
+++ b/sys/dev/bhnd/bhndb/bhndb.h
@@ -153,7 +153,7 @@ typedef enum {
 enum bhndb_alloc_flags {
 	/**
 	 * If resource overcommit prevents fulfilling a request for this
-	 * resource, an in-use resource should be be borrowed to fulfill the
+	 * resource, an in-use resource should be borrowed to fulfill the
 	 * request.
 	 * 
 	 * The only known use case is to support accessing the ChipCommon core
diff --git a/sys/dev/bhnd/cores/chipc/chipc.c b/sys/dev/bhnd/cores/chipc/chipc.c
index 7f74edf6b3fe..678b2104f4e8 100644
--- a/sys/dev/bhnd/cores/chipc/chipc.c
+++ b/sys/dev/bhnd/cores/chipc/chipc.c
@@ -411,7 +411,7 @@ chipc_find_nvram_src(struct chipc_softc *sc, struct chipc_caps *caps)
 
 	/*
 	 * We check for hardware presence in order of precedence. For example,
-	 * SPROM is is always used in preference to internal OTP if found.
+	 * SPROM is always used in preference to internal OTP if found.
 	 */
 	if (CHIPC_QUIRK(sc, SUPPORTS_SPROM) && caps->sprom) {
 		srom_ctrl = bhnd_bus_read_4(sc->core, CHIPC_SPROM_CTRL);
diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_value.c b/sys/dev/bhnd/nvram/bhnd_nvram_value.c
index 8bdfa31a22a4..b2e0ef3a9556 100644
--- a/sys/dev/bhnd/nvram/bhnd_nvram_value.c
+++ b/sys/dev/bhnd/nvram/bhnd_nvram_value.c
@@ -1342,7 +1342,7 @@ bhnd_nvram_val_encode(bhnd_nvram_val *value, void *outp, size_t *olen,
  * Encode the given @p value's element as @p otype, writing the result to
  * @p outp.
  *
- * @param		inp	The element to be be encoded. Must be a value
+ * @param		inp	The element to be encoded. Must be a value
  *				previously returned by bhnd_nvram_val_next()
  *				or bhnd_nvram_val_elem().
  * @param		ilen	The size of @p inp, as returned by