Module Name:    src
Committed By:   andvar
Date:           Tue Mar  5 20:58:05 UTC 2024

Modified Files:
        src/sys/arch/mac68k/dev: adb_direct.c
        src/sys/arch/macppc/dev: adb_direct.c
        src/sys/arch/x86/x86: intr.c

Log Message:
Remove duplicate "when" word in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/mac68k/dev/adb_direct.c
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/macppc/dev/adb_direct.c
cvs rdiff -u -r1.166 -r1.167 src/sys/arch/x86/x86/intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mac68k/dev/adb_direct.c
diff -u src/sys/arch/mac68k/dev/adb_direct.c:1.71 src/sys/arch/mac68k/dev/adb_direct.c:1.72
--- src/sys/arch/mac68k/dev/adb_direct.c:1.71	Wed Feb 28 13:05:39 2024
+++ src/sys/arch/mac68k/dev/adb_direct.c	Tue Mar  5 20:58:05 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: adb_direct.c,v 1.71 2024/02/28 13:05:39 thorpej Exp $	*/
+/*	$NetBSD: adb_direct.c,v 1.72 2024/03/05 20:58:05 andvar Exp $	*/
 
 /* From: adb_direct.c 2.02 4/18/97 jpw */
 
@@ -62,7 +62,7 @@
 #ifdef __NetBSD__
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adb_direct.c,v 1.71 2024/02/28 13:05:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adb_direct.c,v 1.72 2024/03/05 20:58:05 andvar Exp $");
 
 #include "opt_adb.h"
 
@@ -394,7 +394,7 @@ adb_cuda_tickle(void)
 }
 
 /*
- * called when when an adb interrupt happens
+ * called when an adb interrupt happens
  *
  * Cuda version of adb_intr
  * TO DO: do we want to add some calls to intr_dispatch() here to
@@ -1208,7 +1208,7 @@ adb_guess_next_device(void)
 
 
 /*
- * Called when when an adb interrupt happens.
+ * Called when an adb interrupt happens.
  * This routine simply transfers control over to the appropriate
  * code for the machine we are running on.
  */
@@ -1241,7 +1241,7 @@ adb_intr(void *arg)
 
 
 /*
- * called when when an adb interrupt happens
+ * called when an adb interrupt happens
  *
  * IIsi version of adb_intr
  *

Index: src/sys/arch/macppc/dev/adb_direct.c
diff -u src/sys/arch/macppc/dev/adb_direct.c:1.45 src/sys/arch/macppc/dev/adb_direct.c:1.46
--- src/sys/arch/macppc/dev/adb_direct.c:1.45	Thu Sep 21 09:31:49 2023
+++ src/sys/arch/macppc/dev/adb_direct.c	Tue Mar  5 20:58:05 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: adb_direct.c,v 1.45 2023/09/21 09:31:49 msaitoh Exp $	*/
+/*	$NetBSD: adb_direct.c,v 1.46 2024/03/05 20:58:05 andvar Exp $	*/
 
 /* From: adb_direct.c 2.02 4/18/97 jpw */
 
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adb_direct.c,v 1.45 2023/09/21 09:31:49 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adb_direct.c,v 1.46 2024/03/05 20:58:05 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -319,7 +319,7 @@ adb_cuda_tickle(void)
 }
 
 /*
- * called when when an adb interrupt happens
+ * called when an adb interrupt happens
  *
  * Cuda version of adb_intr
  * TO DO: do we want to add some calls to intr_dispatch() here to

Index: src/sys/arch/x86/x86/intr.c
diff -u src/sys/arch/x86/x86/intr.c:1.166 src/sys/arch/x86/x86/intr.c:1.167
--- src/sys/arch/x86/x86/intr.c:1.166	Wed Nov 29 11:40:37 2023
+++ src/sys/arch/x86/x86/intr.c	Tue Mar  5 20:58:05 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.c,v 1.166 2023/11/29 11:40:37 mlelstv Exp $	*/
+/*	$NetBSD: intr.c,v 1.167 2024/03/05 20:58:05 andvar Exp $	*/
 
 /*
  * Copyright (c) 2007, 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.166 2023/11/29 11:40:37 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.167 2024/03/05 20:58:05 andvar Exp $");
 
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
@@ -1056,7 +1056,7 @@ intr_mask_xcall(void *arg1, void *arg2)
 			 * For level-sensitive interrupts, the hardware
 			 * will let us know.  For everything else, we
 			 * need to explicitly handle interrupts that
-			 * happened when when the source was masked.
+			 * happened when the source was masked.
 			 */
 			const uint64_t bit = (1U << ih->ih_slot);
 			if (ci->ci_imasked & bit) {

Reply via email to