git: f7cee4fa57a2 - main - sbin: Remove repeated words

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 17:55:31 UTC
The branch main has been updated by imp:

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

commit f7cee4fa57a2b52a6e43a1f820ce7ba891b8e7d9
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2024-04-11 17:46:59 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-11 17:53:37 +0000

    sbin: Remove repeated words
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/887
---
 sbin/fsck_ffs/dir.c    | 2 +-
 sbin/hastd/lzf.c       | 2 +-
 sbin/ipf/ipf/bpf-ipf.h | 2 +-
 sbin/ipf/ipf/ipfcomp.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sbin/fsck_ffs/dir.c b/sbin/fsck_ffs/dir.c
index cc63aadae04c..3eb0b63c0988 100644
--- a/sbin/fsck_ffs/dir.c
+++ b/sbin/fsck_ffs/dir.c
@@ -252,7 +252,7 @@ fsck_readdir(struct inodesc *idesc)
 	dp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc);
 	/*
 	 * Only need to check current entry if it is the first in the
-	 * the block, as later entries will have been checked in the
+	 * block, as later entries will have been checked in the
 	 * previous call to this function.
 	 */
 	if (idesc->id_loc % DIRBLKSIZ != 0 || dircheck(idesc, bp, dp) != 0) {
diff --git a/sbin/hastd/lzf.c b/sbin/hastd/lzf.c
index 2b0ee88b2cd3..371dee3a037b 100644
--- a/sbin/hastd/lzf.c
+++ b/sbin/hastd/lzf.c
@@ -118,7 +118,7 @@ lzf_compress (const void *const in_data, unsigned int in_len,
   /* off requires a type wide enough to hold a general pointer difference.
    * ISO C doesn't have that (size_t might not be enough and ptrdiff_t only
    * works for differences within a single object). We also assume that no
-   * no bit pattern traps. Since the only platform that is both non-POSIX
+   * bit pattern traps. Since the only platform that is both non-POSIX
    * and fails to support both assumptions is windows 64 bit, we make a
    * special workaround for it.
    */
diff --git a/sbin/ipf/ipf/bpf-ipf.h b/sbin/ipf/ipf/bpf-ipf.h
index 7bc299d57256..e41e9d71bbb9 100644
--- a/sbin/ipf/ipf/bpf-ipf.h
+++ b/sbin/ipf/ipf/bpf-ipf.h
@@ -86,7 +86,7 @@ struct bpf_stat {
  * bpf understands a program iff kernel_major == filter_major &&
  * kernel_minor >= filter_minor, that is, if the value returned by the
  * running kernel has the same major number and a minor number equal
- * equal to or less than the filter being downloaded.  Otherwise, the
+ * to or less than the filter being downloaded.  Otherwise, the
  * results are undefined, meaning an error may be returned or packets
  * may be accepted haphazardly.
  * It has nothing to do with the source code version.
diff --git a/sbin/ipf/ipf/ipfcomp.c b/sbin/ipf/ipf/ipfcomp.c
index da4f270333c7..9d0b3642e732 100644
--- a/sbin/ipf/ipf/ipfcomp.c
+++ b/sbin/ipf/ipf/ipfcomp.c
@@ -685,7 +685,7 @@ emitGroup(int num, int dir, void *v, frentry_t *fr, char *group,
 	if (n) {
 		/*
 		 * Calculate the indentation interval upto the last common
-		 * common comparison being made.
+		 * comparison being made.
 		 */
 		for (i = 0, in = 1; i < FRC_MAX; i++) {
 			if (n[i].c != m[i].c)