git: 9049905a27c0 - stable/12 - bhnd(4): Remove some double words in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Apr 2022 06:44:55 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=9049905a27c0463978f88ee780905040cabbdf51
commit 9049905a27c0463978f88ee780905040cabbdf51
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-08 18:57:15 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-14 06:32:14 +0000
bhnd(4): Remove some double words in source code comments
- s/be be/be/
- s/is is/is/
(cherry picked from commit 060f5c02e94fe66b67eaccc12ff875797bc180b7)
---
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 99860db0aaa4..b1fc31d237d1 100644
--- a/sys/dev/bhnd/bhndb/bhndb.h
+++ b/sys/dev/bhnd/bhndb/bhndb.h
@@ -156,7 +156,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 29ed561a7cd0..0932584812d8 100644
--- a/sys/dev/bhnd/cores/chipc/chipc.c
+++ b/sys/dev/bhnd/cores/chipc/chipc.c
@@ -412,7 +412,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 bea136581f3c..2e8b0229da09 100644
--- a/sys/dev/bhnd/nvram/bhnd_nvram_value.c
+++ b/sys/dev/bhnd/nvram/bhnd_nvram_value.c
@@ -1346,7 +1346,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