git: 6a96bff988ab - stable/12 - ocs_fc(4): Remove double words in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 13 Sep 2022 05:27:36 UTC
The branch stable/12 has been updated by gbe (doc committer):

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

commit 6a96bff988abce69103fa35d2f1caf8b784c4eb7
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-10 11:00:23 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-13 05:26:45 +0000

    ocs_fc(4): Remove double words in source code comments
    
     - s/to to/to/
    
    (cherry picked from commit eb2f7d9a5a61588e4a218a5636cab5dd9fb8bfba)
---
 sys/dev/ocs_fc/ocs_hw.c | 2 +-
 sys/dev/ocs_fc/sli4.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/ocs_fc/ocs_hw.c b/sys/dev/ocs_fc/ocs_hw.c
index 38d27915672c..41d91ce5391b 100644
--- a/sys/dev/ocs_fc/ocs_hw.c
+++ b/sys/dev/ocs_fc/ocs_hw.c
@@ -8721,7 +8721,7 @@ ocs_hw_wq_process_io(void *arg, uint8_t *cqe, int32_t status)
 			ocs_log_debug(hw->os, "aborting xri=%#x tag=%#x\n",
 				      io->indicator, io->reqtag);
 			/*
-			 * Because the initiator will not issue another IO phase, then it is OK to to issue the
+			 * Because the initiator will not issue another IO phase, then it is OK to issue the
 			 * callback on the abort completion, but for consistency with the target, wait for the
 			 * XRI_ABORTED CQE to issue the IO callback.
 			 */
diff --git a/sys/dev/ocs_fc/sli4.c b/sys/dev/ocs_fc/sli4.c
index 724ee15c8d31..7ca77fbfd35f 100644
--- a/sys/dev/ocs_fc/sli4.c
+++ b/sys/dev/ocs_fc/sli4.c
@@ -5689,7 +5689,7 @@ int32_t sli_raise_ue(sli4_t *sli4, uint8_t dump)
 
 /**
  * @ingroup sli
- * @brief Read the SLIPORT_STATUS register to to check if a dump is present.
+ * @brief Read the SLIPORT_STATUS register to check if a dump is present.
  *
  * @param sli4 SLI context.
  *