git: 068465dddc96 - stable/14 - sys: Remove two double words in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 25 Apr 2024 06:17:16 UTC
The branch stable/14 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=068465dddc9696bbb7162437c2a1a314baf91e9e

commit 068465dddc9696bbb7162437c2a1a314baf91e9e
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-20 12:04:31 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-25 06:17:04 +0000

    sys: Remove two double words in source code comments
    
    - s/of of/of/
    
    (cherry picked from commit cf5d9c41246c0583b28d5c1101c6f334e38a67e9)
---
 sys/sys/link_elf.h | 2 +-
 sys/sys/types.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index 2ef044032f58..9752bdff55dc 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.h
@@ -58,7 +58,7 @@ typedef struct link_map {
 	caddr_t		l_base;			/* Base Address of library */
 	const char	*l_name;		/* Absolute Path to Library */
 	const void	*l_ld;			/* Pointer to .dynamic in memory */
-	struct link_map	*l_next, *l_prev;	/* linked list of of mapped libs */
+	struct link_map	*l_next, *l_prev;	/* linked list of mapped libs */
 	caddr_t		l_addr;			/* Load Offset of library */
 	const char	*l_refname;		/* object we are filtering for */
 } Link_map;
diff --git a/sys/sys/types.h b/sys/sys/types.h
index b97ad9b5cccb..a3c90c2f33cd 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -319,7 +319,7 @@ typedef	_Bool	bool;
  * The major and minor numbers are encoded in dev_t as MMMmmmMm (where
  * letters correspond to bytes).  The encoding of the lower 4 bytes is
  * constrained by compatibility with 16-bit and 32-bit dev_t's.  The
- * encoding of of the upper 4 bytes is the least unnatural one consistent
+ * encoding of the upper 4 bytes is the least unnatural one consistent
  * with this and other constraints.  Also, the decoding of the m bytes by
  * minor() is unnatural to maximize compatibility subject to not discarding
  * bits.  The upper m byte is shifted into the position of the lower M byte