summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Cran <brucec@FreeBSD.org>2011-02-21 09:01:34 +0000
committerRebecca Cran <brucec@FreeBSD.org>2011-02-21 09:01:34 +0000
commit6bccea7c2bb77cbcbe9f019c664ddf4bf4ff8410 (patch)
tree1f08a200604ea39c38fc67b8558b5638a6dfba0d
parentade7b47061ff5015b869ce84896d2381e8bb9799 (diff)
downloadsrc-test2-6bccea7c2bb77cbcbe9f019c664ddf4bf4ff8410.tar.gz
src-test2-6bccea7c2bb77cbcbe9f019c664ddf4bf4ff8410.zip
Notes
-rw-r--r--bin/df/df.c2
-rw-r--r--bin/sh/expand.c2
-rw-r--r--lib/libc/arm/gen/modf.c2
-rw-r--r--lib/libc/ia64/gen/modf.c2
-rw-r--r--lib/libc/mips/gen/modf.c2
-rw-r--r--lib/libc/powerpc/gen/modf.c2
-rw-r--r--lib/libc/powerpc64/gen/modf.c2
-rw-r--r--lib/libpkg/version.c2
-rw-r--r--lib/libstand/environment.c2
-rw-r--r--lib/msun/src/s_cbrt.c2
-rw-r--r--sys/amd64/amd64/trap.c2
-rw-r--r--sys/arm/xscale/i80321/iq80321.c2
-rw-r--r--sys/boot/ficl/words.c2
-rw-r--r--sys/cam/cam_xpt.c4
-rw-r--r--sys/cam/scsi/scsi_sa.c2
-rw-r--r--sys/cddl/dev/dtrace/amd64/dtrace_subr.c2
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_subr.c2
-rw-r--r--sys/compat/ndis/subr_ntoskrnl.c2
-rw-r--r--sys/dev/advansys/adwcam.c2
-rw-r--r--sys/dev/aic7xxx/aic79xx_osm.h2
-rw-r--r--sys/dev/aic7xxx/aic7xxx_osm.h2
-rw-r--r--sys/dev/asr/i2omsg.h2
-rw-r--r--sys/dev/bktr/bktr_card.c2
-rw-r--r--sys/dev/ctau/ctau.c2
-rw-r--r--sys/dev/ctau/ctddk.h2
-rw-r--r--sys/dev/cxgb/cxgb_main.c4
-rw-r--r--sys/dev/drm/mach64_dma.c2
-rw-r--r--sys/dev/drm/r300_reg.h2
-rw-r--r--sys/dev/e1000/e1000_82575.c2
-rw-r--r--sys/dev/e1000/e1000_ich8lan.c2
-rw-r--r--sys/dev/ep/if_epreg.h2
-rw-r--r--sys/dev/fdc/fdc.c2
-rw-r--r--sys/dev/ixgb/ixgb_ee.c2
-rw-r--r--sys/dev/malo/if_malohal.h2
-rw-r--r--sys/dev/mwl/mwlhal.h2
-rw-r--r--sys/dev/nxge/xgehal/xgehal-device.c2
-rw-r--r--sys/dev/nxge/xgehal/xgehal-ring-fp.c2
-rw-r--r--sys/dev/random/randomdev_soft.c2
-rw-r--r--sys/dev/sound/pci/es137x.c2
-rw-r--r--sys/dev/sym/sym_fw1.h2
-rw-r--r--sys/dev/sym/sym_fw2.h2
-rw-r--r--sys/dev/uart/uart_dev_ns8250.c2
-rw-r--r--sys/dev/usb/usb_process.c2
-rw-r--r--sys/dev/vx/if_vxreg.h2
-rw-r--r--sys/dev/wpi/if_wpi.c2
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c2
-rw-r--r--sys/fs/msdosfs/msdosfs_vnops.c2
-rw-r--r--sys/geom/geom_vfs.c2
-rw-r--r--sys/geom/part/g_part_ebr.c2
-rw-r--r--sys/geom/sched/gs_scheduler.h2
-rw-r--r--sys/gnu/fs/xfs/xfs_dir_leaf.c4
-rw-r--r--sys/gnu/fs/xfs/xfs_itable.c2
-rw-r--r--sys/i386/i386/trap.c2
-rw-r--r--sys/kern/subr_unit.c4
-rw-r--r--sys/kern/subr_witness.c2
-rw-r--r--sys/kern/uipc_mbuf.c2
-rw-r--r--sys/mips/mips/pmap.c4
-rw-r--r--sys/mips/rmi/fmn.c4
-rw-r--r--sys/mips/sibyte/sb_zbpci.c2
-rw-r--r--sys/net/if_media.c2
-rw-r--r--sys/net/route.c2
-rw-r--r--sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c2
-rw-r--r--sys/netgraph/ng_source.c2
-rw-r--r--sys/netinet/if_ether.c2
-rw-r--r--sys/netinet/ip_input.c2
-rw-r--r--sys/netinet/ipfw/ip_fw_private.h2
-rw-r--r--sys/netinet/libalias/alias_sctp.c2
-rw-r--r--sys/netinet/tcp_offload.h2
-rw-r--r--sys/netinet/tcp_subr.c2
-rw-r--r--sys/netinet/tcp_syncache.c2
-rw-r--r--sys/netinet/tcp_timewait.c2
-rw-r--r--sys/netinet6/in6.h2
-rw-r--r--sys/pc98/cbus/fdc.c2
-rw-r--r--sys/sparc64/include/iommureg.h2
-rw-r--r--sys/sparc64/pci/sbbc.c2
-rw-r--r--sys/sparc64/sparc64/trap.c2
-rw-r--r--sys/sys/aac_ioctl.h2
-rw-r--r--usr.bin/lex/misc.c2
-rw-r--r--usr.bin/m4/gnum4.c2
-rw-r--r--usr.bin/make/lst.c2
-rw-r--r--usr.bin/rpcinfo/rpcinfo.c2
-rw-r--r--usr.bin/xinstall/xinstall.c2
-rw-r--r--usr.sbin/moused/moused.c2
-rw-r--r--usr.sbin/rpcbind/util.c2
-rw-r--r--usr.sbin/sysinstall/install.c2
85 files changed, 91 insertions, 91 deletions
diff --git a/bin/df/df.c b/bin/df/df.c
index be811a149428..73f6acd75dfb 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -125,7 +125,7 @@ main(int argc, char *argv[])
/* FALLTHROUGH */
case 'P':
/*
- * POSIX specifically discusses the the behavior of
+ * POSIX specifically discusses the behavior of
* both -k and -P. It states that the blocksize should
* be set to 1024. Thus, if this occurs, simply break
* rather than clobbering the old blocksize.
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 9c088c94be85..c343977eab76 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -959,7 +959,7 @@ numvar:
/*
- * Record the the fact that we have to scan this region of the
+ * Record the fact that we have to scan this region of the
* string for IFS characters.
*/
diff --git a/lib/libc/arm/gen/modf.c b/lib/libc/arm/gen/modf.c
index 347090cf1fe7..cb5aeac2ea46 100644
--- a/lib/libc/arm/gen/modf.c
+++ b/lib/libc/arm/gen/modf.c
@@ -86,7 +86,7 @@ modf(val, iptr)
* If you look at the math involved for a few seconds, it's
* plain to see that the integral part is the input, with the
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
- * the the fractional part is the part with the rest of the
+ * the fractional part is the part with the rest of the
* bits zeroed. Just zeroing the high bits to get the
* fractional part would yield a fraction in need of
* normalization. Therefore, we take the easy way out, and
diff --git a/lib/libc/ia64/gen/modf.c b/lib/libc/ia64/gen/modf.c
index def3aadbad26..13e61827b178 100644
--- a/lib/libc/ia64/gen/modf.c
+++ b/lib/libc/ia64/gen/modf.c
@@ -85,7 +85,7 @@ modf(val, iptr)
* If you look at the math involved for a few seconds, it's
* plain to see that the integral part is the input, with the
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
- * the the fractional part is the part with the rest of the
+ * the fractional part is the part with the rest of the
* bits zeroed. Just zeroing the high bits to get the
* fractional part would yield a fraction in need of
* normalization. Therefore, we take the easy way out, and
diff --git a/lib/libc/mips/gen/modf.c b/lib/libc/mips/gen/modf.c
index 347090cf1fe7..cb5aeac2ea46 100644
--- a/lib/libc/mips/gen/modf.c
+++ b/lib/libc/mips/gen/modf.c
@@ -86,7 +86,7 @@ modf(val, iptr)
* If you look at the math involved for a few seconds, it's
* plain to see that the integral part is the input, with the
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
- * the the fractional part is the part with the rest of the
+ * the fractional part is the part with the rest of the
* bits zeroed. Just zeroing the high bits to get the
* fractional part would yield a fraction in need of
* normalization. Therefore, we take the easy way out, and
diff --git a/lib/libc/powerpc/gen/modf.c b/lib/libc/powerpc/gen/modf.c
index 37786dc1e19b..612c5067b38e 100644
--- a/lib/libc/powerpc/gen/modf.c
+++ b/lib/libc/powerpc/gen/modf.c
@@ -86,7 +86,7 @@ modf(val, iptr)
* If you look at the math involved for a few seconds, it's
* plain to see that the integral part is the input, with the
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
- * the the fractional part is the part with the rest of the
+ * the fractional part is the part with the rest of the
* bits zeroed. Just zeroing the high bits to get the
* fractional part would yield a fraction in need of
* normalization. Therefore, we take the easy way out, and
diff --git a/lib/libc/powerpc64/gen/modf.c b/lib/libc/powerpc64/gen/modf.c
index 37786dc1e19b..612c5067b38e 100644
--- a/lib/libc/powerpc64/gen/modf.c
+++ b/lib/libc/powerpc64/gen/modf.c
@@ -86,7 +86,7 @@ modf(val, iptr)
* If you look at the math involved for a few seconds, it's
* plain to see that the integral part is the input, with the
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
- * the the fractional part is the part with the rest of the
+ * the fractional part is the part with the rest of the
* bits zeroed. Just zeroing the high bits to get the
* fractional part would yield a fraction in need of
* normalization. Therefore, we take the easy way out, and
diff --git a/lib/libpkg/version.c b/lib/libpkg/version.c
index 1b7bb5bdbd9b..123fd5d20e57 100644
--- a/lib/libpkg/version.c
+++ b/lib/libpkg/version.c
@@ -76,7 +76,7 @@ split_version(const char *pkgname, const char **endname, unsigned long *epoch, u
if (pkgname == NULL)
errx(2, "%s: Passed NULL pkgname.", __func__);
- /* Look for the last '-' the the pkgname */
+ /* Look for the last '-' the pkgname */
ch = strrchr(pkgname, '-');
/* Cheat if we are just passed a version, not a valid package name */
versionstr = ch ? ch + 1 : pkgname;
diff --git a/lib/libstand/environment.c b/lib/libstand/environment.c
index c30b7306eee9..3505ccd98d4d 100644
--- a/lib/libstand/environment.c
+++ b/lib/libstand/environment.c
@@ -59,7 +59,7 @@ env_getenv(const char *name)
* Some notes:
*
* If the EV_VOLATILE flag is set, a copy of the variable is made.
- * If EV_DYNAMIC is set, the the variable has been allocated with
+ * If EV_DYNAMIC is set, the variable has been allocated with
* malloc and ownership transferred to the environment.
* If (value) is NULL, the variable is set but has no value.
*/
diff --git a/lib/msun/src/s_cbrt.c b/lib/msun/src/s_cbrt.c
index 2c70980411b5..27ecd97ff342 100644
--- a/lib/msun/src/s_cbrt.c
+++ b/lib/msun/src/s_cbrt.c
@@ -94,7 +94,7 @@ cbrt(double x)
* 2 23-bit ulps larger). With rounding towards zero, the error bound
* would be ~5/6 instead of ~4/6. With a maximum error of 2 23-bit ulps
* in the rounded t, the infinite-precision error in the Newton
- * approximation barely affects third digit in the the final error
+ * approximation barely affects third digit in the final error
* 0.667; the error in the rounded t can be up to about 3 23-bit ulps
* before the final error is larger than 0.667 ulps.
*/
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 5c755cde61cb..c3f9fd964331 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -235,7 +235,7 @@ trap(struct trapframe *frame)
* A trap can occur while DTrace executes a probe. Before
* executing the probe, DTrace blocks re-scheduling and sets
* a flag in it's per-cpu flags to indicate that it doesn't
- * want to fault. On returning from the the probe, the no-fault
+ * want to fault. On returning from the probe, the no-fault
* flag is cleared and finally re-scheduling is enabled.
*
* If the DTrace kernel module has registered a trap handler,
diff --git a/sys/arm/xscale/i80321/iq80321.c b/sys/arm/xscale/i80321/iq80321.c
index 7f9487946df4..04ef8b9d6a74 100644
--- a/sys/arm/xscale/i80321/iq80321.c
+++ b/sys/arm/xscale/i80321/iq80321.c
@@ -139,7 +139,7 @@ iq80321_attach(device_t dev)
device_get_name(dev));
/*
- * We have mapped the the PCI I/O windows in the early
+ * We have mapped the PCI I/O windows in the early
* bootstrap phase.
*/
sc->sc_iow_vaddr = IQ80321_IOW_VBASE;
diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c
index ddeb1af61c29..48e073df3ab9 100644
--- a/sys/boot/ficl/words.c
+++ b/sys/boot/ficl/words.c
@@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM)
** compiles an "else"...
** 1) Compile a branch and a patch address; the address gets patched
** by "endif" to point past the "else" code.
-** 2) Pop the the "if" patch address
+** 2) Pop the "if" patch address
** 3) Patch the "if" branch to point to the current compile address.
** 4) Push the "else" patch address. ("endif" patches this to jump past
** the "else" code.
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index f603ed82c760..aa77a1825fb5 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -317,7 +317,7 @@ xpt_schedule_dev_allocq(struct cam_eb *bus, struct cam_ed *dev)
CAMQ_GET_PRIO(&dev->drvq))) == 0)) {
/*
* The priority of a device waiting for CCB resources
- * is that of the the highest priority peripheral driver
+ * is that of the highest priority peripheral driver
* enqueued.
*/
retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue,
@@ -340,7 +340,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bus, struct cam_ed *dev)
(cam_ccbq_frozen_top(&dev->ccbq) == 0)) {
/*
* The priority of a device waiting for controller
- * resources is that of the the highest priority CCB
+ * resources is that of the highest priority CCB
* enqueued.
*/
retval =
diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c
index 13871b97d47c..331f9a2b05d8 100644
--- a/sys/cam/scsi/scsi_sa.c
+++ b/sys/cam/scsi/scsi_sa.c
@@ -2654,7 +2654,7 @@ retry:
struct scsi_dev_conf_page *cp = &ntcs->dconf;
/*
* We don't really know whether this device supports
- * Data Compression if the the algorithm field is
+ * Data Compression if the algorithm field is
* zero. Just say we do.
*/
*comp_supported = TRUE;
diff --git a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c
index f86f5353bb6b..52da1b7b7258 100644
--- a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c
@@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_int type)
* A trap can occur while DTrace executes a probe. Before
* executing the probe, DTrace blocks re-scheduling and sets
* a flag in it's per-cpu flags to indicate that it doesn't
- * want to fault. On returning from the the probe, the no-fault
+ * want to fault. On returning from the probe, the no-fault
* flag is cleared and finally re-scheduling is enabled.
*
* Check if DTrace has enabled 'no-fault' mode:
diff --git a/sys/cddl/dev/dtrace/i386/dtrace_subr.c b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
index be238081efec..c5ea277d9e53 100644
--- a/sys/cddl/dev/dtrace/i386/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
@@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_int type)
* A trap can occur while DTrace executes a probe. Before
* executing the probe, DTrace blocks re-scheduling and sets
* a flag in it's per-cpu flags to indicate that it doesn't
- * want to fault. On returning from the the probe, the no-fault
+ * want to fault. On returning from the probe, the no-fault
* flag is cleared and finally re-scheduling is enabled.
*
* Check if DTrace has enabled 'no-fault' mode:
diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c
index 6c449b1df030..b57145c2b231 100644
--- a/sys/compat/ndis/subr_ntoskrnl.c
+++ b/sys/compat/ndis/subr_ntoskrnl.c
@@ -3355,7 +3355,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t increment, uint8_t kwait)
* setting the state to signalled since we're supposed
* to automatically clear synchronization events anyway).
*
- * If it's a notification event, or the the first
+ * If it's a notification event, or the first
* waiter is doing a WAITTYPE_ALL wait, go through
* the full wait satisfaction process.
*/
diff --git a/sys/dev/advansys/adwcam.c b/sys/dev/advansys/adwcam.c
index 7e3b4f4baeba..fdee3fdb5ad2 100644
--- a/sys/dev/advansys/adwcam.c
+++ b/sys/dev/advansys/adwcam.c
@@ -1,5 +1,5 @@
/*-
- * CAM SCSI interface for the the Advanced Systems Inc.
+ * CAM SCSI interface for the Advanced Systems Inc.
* Second Generation SCSI controllers.
*
* Product specific probe and attach routines can be found in:
diff --git a/sys/dev/aic7xxx/aic79xx_osm.h b/sys/dev/aic7xxx/aic79xx_osm.h
index 692f3f9eed12..db790dffd58d 100644
--- a/sys/dev/aic7xxx/aic79xx_osm.h
+++ b/sys/dev/aic7xxx/aic79xx_osm.h
@@ -103,7 +103,7 @@
* The number of dma segments supported. The sequencer can handle any number
* of physically contiguous S/G entrys. To reduce the driver's memory
* consumption, we limit the number supported to be sufficient to handle
- * the largest mapping supported by the the legacy kernel MAXPHYS setting of
+ * the largest mapping supported by the legacy kernel MAXPHYS setting of
* 128K. This can be increased once some testing is done. Assuming the
* transfer is as fragmented as possible and unaligned, this turns out to
* be the number of paged sized transfers in MAXPHYS plus an extra element
diff --git a/sys/dev/aic7xxx/aic7xxx_osm.h b/sys/dev/aic7xxx/aic7xxx_osm.h
index 388cf9e84fb8..9a2939e9e9a2 100644
--- a/sys/dev/aic7xxx/aic7xxx_osm.h
+++ b/sys/dev/aic7xxx/aic7xxx_osm.h
@@ -115,7 +115,7 @@ extern devclass_t ahc_devclass;
* The number of dma segments supported. The sequencer can handle any number
* of physically contiguous S/G entrys. To reduce the driver's memory
* consumption, we limit the number supported to be sufficient to handle
- * the largest mapping supported by the the legacy kernel MAXPHYS setting of
+ * the largest mapping supported by the legacy kernel MAXPHYS setting of
* 128K. This can be increased once some testing is done. Assuming the
* be the number of paged sized transfers in MAXPHYS plus an extra element
* to handle any unaligned residual. The sequencer fetches SG elements
diff --git a/sys/dev/asr/i2omsg.h b/sys/dev/asr/i2omsg.h
index 833bd9173d38..a938e3806228 100644
--- a/sys/dev/asr/i2omsg.h
+++ b/sys/dev/asr/i2omsg.h
@@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH
#define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0
/* Defines for the Message Flags Field. */
-/* Please Note the the FAIL bit is only set in the Transport Fail Message. */
+/* Please Note the FAIL bit is only set in the Transport Fail Message. */
#define I2O_MESSAGE_FLAGS_STATIC 0x01
#define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02
#define I2O_MESSAGE_FLAGS_MULTIPLE 0x10
diff --git a/sys/dev/bktr/bktr_card.c b/sys/dev/bktr/bktr_card.c
index 00526def16c4..e59ebbef06bf 100644
--- a/sys/dev/bktr/bktr_card.c
+++ b/sys/dev/bktr/bktr_card.c
@@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_ptr_t bktr) {
*
* However some makes of card (eg Hauppauge) come with a configuration eeprom
* which tells us the make of the card. Most eeproms also tell us the
- * tuner type and other features of the the cards.
+ * tuner type and other features of the cards.
*
* The current probe code works as follows
* A) If the card uses a Bt878/879:
diff --git a/sys/dev/ctau/ctau.c b/sys/dev/ctau/ctau.c
index 9b4f40475af3..6a6b65d061d9 100644
--- a/sys/dev/ctau/ctau.c
+++ b/sys/dev/ctau/ctau.c
@@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = {
0, /* board control register 2 */
{ /* DMA priority control register */
PCR_PRIO_ROTATE,
- 0, /* all channels share the the bus hold */
+ 0, /* all channels share the bus hold */
0, /* hold the bus until all transfers done */
},
CFG_A, /* E1/G.703 config: two independent channels */
diff --git a/sys/dev/ctau/ctddk.h b/sys/dev/ctau/ctddk.h
index be0a092b1d56..2d53deeab008 100644
--- a/sys/dev/ctau/ctddk.h
+++ b/sys/dev/ctau/ctddk.h
@@ -206,7 +206,7 @@ typedef struct {
typedef struct {
unsigned prio : 3; /* priority of channels */
unsigned noshare : 1; /* 1 - chan holds the bus until end of data */
- /* 0 - all channels share the the bus hold */
+ /* 0 - all channels share the bus hold */
unsigned release : 1; /* 1 - release the bus between transfers */
/* 0 - hold the bus until all transfers done */
} ct_pcr_t;
diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c
index 2638006c2dd9..f094846b3fc6 100644
--- a/sys/dev/cxgb/cxgb_main.c
+++ b/sys/dev/cxgb/cxgb_main.c
@@ -1908,7 +1908,7 @@ cxgb_uninit_synchronized(struct port_info *pi)
/*
* Clear this port's bit from the open device map, and then drain all
* the tasks that can access/manipulate this port's port_info or ifp.
- * We disable this port's interrupts here and so the the slow/ext
+ * We disable this port's interrupts here and so the slow/ext
* interrupt tasks won't be enqueued. The tick task will continue to
* be enqueued every second but the runs after this drain will not see
* this port in the open device map.
@@ -2858,7 +2858,7 @@ cxgb_extension_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data,
u64 buf[32];
/*
- * Use these to avoid modifying len/addr in the the return
+ * Use these to avoid modifying len/addr in the return
* struct
*/
uint32_t len = t->len, addr = t->addr;
diff --git a/sys/dev/drm/mach64_dma.c b/sys/dev/drm/mach64_dma.c
index 9aa0faa19818..4ac09e85f0fe 100644
--- a/sys/dev/drm/mach64_dma.c
+++ b/sys/dev/drm/mach64_dma.c
@@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_private_t *dev_priv)
}
/**
- * Reset the the ring buffer descriptors.
+ * Reset the ring buffer descriptors.
*
* \sa mach64_do_engine_reset()
*/
diff --git a/sys/dev/drm/r300_reg.h b/sys/dev/drm/r300_reg.h
index 8a13c31af72f..6df4611b4362 100644
--- a/sys/dev/drm/r300_reg.h
+++ b/sys/dev/drm/r300_reg.h
@@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$");
# define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0
# define R300_PVS_CNTL_1_POS_END_SHIFT 10
# define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20
-/* Addresses are relative the the vertex program parameters area. */
+/* Addresses are relative the vertex program parameters area. */
#define R300_VAP_PVS_CNTL_2 0x22D4
# define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0
# define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16
diff --git a/sys/dev/e1000/e1000_82575.c b/sys/dev/e1000/e1000_82575.c
index 03c70e0502db..db5609b7d2a3 100644
--- a/sys/dev/e1000/e1000_82575.c
+++ b/sys/dev/e1000/e1000_82575.c
@@ -1986,7 +1986,7 @@ out:
* e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
* @hw: pointer to the HW structure
*
- * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
+ * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
* the values found in the EEPROM. This addresses an issue in which these
* bits are not restored from EEPROM after reset.
**/
diff --git a/sys/dev/e1000/e1000_ich8lan.c b/sys/dev/e1000/e1000_ich8lan.c
index b2882ee12503..821890888a9f 100644
--- a/sys/dev/e1000/e1000_ich8lan.c
+++ b/sys/dev/e1000/e1000_ich8lan.c
@@ -3218,7 +3218,7 @@ out:
* @hw: pointer to the HW structure
*
* ICH8 use the PCI Express bus, but does not contain a PCI Express Capability
- * register, so the the bus width is hard coded.
+ * register, so the bus width is hard coded.
**/
static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw)
{
diff --git a/sys/dev/ep/if_epreg.h b/sys/dev/ep/if_epreg.h
index f3c269f55619..9453891488df 100644
--- a/sys/dev/ep/if_epreg.h
+++ b/sys/dev/ep/if_epreg.h
@@ -113,7 +113,7 @@
/**************************************************************************
* *
* These are the registers for the 3Com 3c509 and their bit patterns when *
- * applicable. They have been taken out the the "EtherLink III Parallel *
+ * applicable. They have been taken out the "EtherLink III Parallel *
* Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual *
* from 3com. *
* *
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index ed621b22f5fd..01998ec7826a 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -1261,7 +1261,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, void *data)
/*
* Set up a bio request for fdstrategy(). bio_offset is faked
- * so that fdstrategy() will seek to the the requested
+ * so that fdstrategy() will seek to the requested
* cylinder, and use the desired head.
*/
bp->bio_cmd = cmd;
diff --git a/sys/dev/ixgb/ixgb_ee.c b/sys/dev/ixgb/ixgb_ee.c
index 861a99a13997..4ce650e1dad8 100644
--- a/sys/dev/ixgb/ixgb_ee.c
+++ b/sys/dev/ixgb/ixgb_ee.c
@@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw *hw)
* hw - Struct containing variables accessed by shared code
*
* Reads the first 64 16 bit words of the EEPROM and sums the values read.
- * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is
+ * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is
* valid.
*
* Returns:
diff --git a/sys/dev/malo/if_malohal.h b/sys/dev/malo/if_malohal.h
index 80c27ace4326..fb962cc8dd54 100644
--- a/sys/dev/malo/if_malohal.h
+++ b/sys/dev/malo/if_malohal.h
@@ -133,7 +133,7 @@ struct malo_hal_hwstats {
/*
* Set Antenna Configuration (legacy operation).
*
- * The RX antenna can be selected using the the bitmask
+ * The RX antenna can be selected using the bitmask
* ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.)
* (diversity?XXX)
*/
diff --git a/sys/dev/mwl/mwlhal.h b/sys/dev/mwl/mwlhal.h
index ab6b7d01764a..25b8b07c48d9 100644
--- a/sys/dev/mwl/mwlhal.h
+++ b/sys/dev/mwl/mwlhal.h
@@ -291,7 +291,7 @@ int mwl_hal_setradio(struct mwl_hal *mh, int onoff, MWL_HAL_PREAMBLE preamble);
/*
* Set Antenna Configuration (legacy operation).
*
- * The RX antenna can be selected using the the bitmask
+ * The RX antenna can be selected using the bitmask
* ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.)
* (diversity?XXX)
*/
diff --git a/sys/dev/nxge/xgehal/xgehal-device.c b/sys/dev/nxge/xgehal/xgehal-device.c
index 882aaf7bcc44..43f944a9d527 100644
--- a/sys/dev/nxge/xgehal/xgehal-device.c
+++ b/sys/dev/nxge/xgehal/xgehal-device.c
@@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t *hldev, u64 *hw_status)
#ifndef XGE_HAL_HERC_EMULATION
/*
* Andrew: in PCI 33 mode, the P_PLL is not used, and therefore,
- * the the P_PLL_LOCK bit in the adapter_status register will
+ * the P_PLL_LOCK bit in the adapter_status register will
* not be asserted.
*/
if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) &&
diff --git a/sys/dev/nxge/xgehal/xgehal-ring-fp.c b/sys/dev/nxge/xgehal/xgehal-ring-fp.c
index e25a2659f931..349d685a04bb 100644
--- a/sys/dev/nxge/xgehal/xgehal-ring-fp.c
+++ b/sys/dev/nxge/xgehal/xgehal-ring-fp.c
@@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h channelh, xge_hal_dtr_h dtrh)
* xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed
* @channelh: Channel handle.
*
- * Checks if the the _next_ completed descriptor is in host memory
+ * Checks if the _next_ completed descriptor is in host memory
*
* Returns: XGE_HAL_OK - success.
* XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors
diff --git a/sys/dev/random/randomdev_soft.c b/sys/dev/random/randomdev_soft.c
index cef64ab6f746..c720902c633e 100644
--- a/sys/dev/random/randomdev_soft.c
+++ b/sys/dev/random/randomdev_soft.c
@@ -347,7 +347,7 @@ random_yarrow_write(void *buf, int count)
/*
* Break the input up into HARVESTSIZE chunks. The writer has too
- * much control here, so "estimate" the the entropy as zero.
+ * much control here, so "estimate" the entropy as zero.
*/
for (i = 0; i < count; i += HARVESTSIZE) {
chunk = HARVESTSIZE;
diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c
index 5b9591abe3dd..f4e24af6dfc8 100644
--- a/sys/dev/sound/pci/es137x.c
+++ b/sys/dev/sound/pci/es137x.c
@@ -584,7 +584,7 @@ eschan1370_setspeed(kobj_t obj, void *data, uint32_t speed)
/*
* DAC1 does not support continuous rate settings.
* Pick the nearest and use it since FEEDER_RATE will
- * do the the proper conversion for us.
+ * do the proper conversion for us.
*/
es->ctrl &= ~CTRL_WTSRSEL;
if (speed < 8268) {
diff --git a/sys/dev/sym/sym_fw1.h b/sys/dev/sym/sym_fw1.h
index 1a4d01064a14..aa1c7a4145d7 100644
--- a/sys/dev/sym/sym_fw1.h
+++ b/sys/dev/sym/sym_fw1.h
@@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_SCR = {
* The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS
* is a critical path. If it is partially executed, it then
* may happen that the job address is not yet in the DSA
- * and the the next queue position points to the next JOB.
+ * and the next queue position points to the next JOB.
*/
}/*-------------------------< GETJOB_BEGIN >---------------------*/,{
/*
diff --git a/sys/dev/sym/sym_fw2.h b/sys/dev/sym/sym_fw2.h
index d006c9c57468..978570343afd 100644
--- a/sys/dev/sym/sym_fw2.h
+++ b/sys/dev/sym/sym_fw2.h
@@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_SCR = {
* The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS
* is a critical path. If it is partially executed, it then
* may happen that the job address is not yet in the DSA
- * and the the next queue position points to the next JOB.
+ * and the next queue position points to the next JOB.
*/
SCR_LOAD_ABS (dsa, 4),
PADDR_B (startpos),
diff --git a/sys/dev/uart/uart_dev_ns8250.c b/sys/dev/uart/uart_dev_ns8250.c
index b93e254d519a..3cdd5ad3c48f 100644
--- a/sys/dev/uart/uart_dev_ns8250.c
+++ b/sys/dev/uart/uart_dev_ns8250.c
@@ -693,7 +693,7 @@ ns8250_bus_probe(struct uart_softc *sc)
/*
* We should have a sufficiently clean "pipe" to determine the
* size of the FIFOs. We send as much characters as is reasonable
- * and wait for the the overflow bit in the LSR register to be
+ * and wait for the overflow bit in the LSR register to be
* asserted, counting the characters as we send them. Based on
* that count we know the FIFO size.
*/
diff --git a/sys/dev/usb/usb_process.c b/sys/dev/usb/usb_process.c
index febc3a1533b8..0509ec274ce2 100644
--- a/sys/dev/usb/usb_process.c
+++ b/sys/dev/usb/usb_process.c
@@ -462,7 +462,7 @@ usb_proc_drain(struct usb_process *up)
/*------------------------------------------------------------------------*
* usb_proc_rewakeup
*
- * This function is called to re-wakeup the the given USB
+ * This function is called to re-wakeup the given USB
* process. This usually happens after that the USB system has been in
* polling mode, like during a panic. This function must be called
* having "up->up_mtx" locked.
diff --git a/sys/dev/vx/if_vxreg.h b/sys/dev/vx/if_vxreg.h
index b876782ca8cb..08ac4088abac 100644
--- a/sys/dev/vx/if_vxreg.h
+++ b/sys/dev/vx/if_vxreg.h
@@ -112,7 +112,7 @@
/**************************************************************************
* These are the registers for the 3Com 3c509 and their bit patterns when *
- * applicable. They have been taken out the the "EtherLink III Parallel *
+ * applicable. They have been taken out the "EtherLink III Parallel *
* Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual *
* from 3com. *
**************************************************************************/
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index 64be4271053c..53ad7f3357ac 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$");
* state and told to load boot firmware. The boot firmware loads an init and a
* main binary firmware image into SRAM on the card via DMA.
* Once the firmware is loaded, the driver/hw then
- * communicate by way of circular dma rings via the the SRAM to the firmware.
+ * communicate by way of circular dma rings via the SRAM to the firmware.
*
* There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings.
* The 4 tx data rings allow for prioritization QoS.
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 43cf65efb1a1..0248a30a25d7 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -368,7 +368,7 @@ fdesc_open(ap)
return (0);
/*
- * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file
+ * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file
* descriptor being sought for duplication. The error return ensures
* that the vnode for this device will be released by vn_open. Open
* will detect this special error and take the actions in dupfdopen.
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c
index 300b71c05369..600aa0fb097f 100644
--- a/sys/fs/msdosfs/msdosfs_vnops.c
+++ b/sys/fs/msdosfs/msdosfs_vnops.c
@@ -1530,7 +1530,7 @@ msdosfs_readdir(ap)
/*
* msdosfs_readdir() won't operate properly on regular files since
- * it does i/o only with the the filesystem vnode, and hence can
+ * it does i/o only with the filesystem vnode, and hence can
* retrieve the wrong block from the buffer cache for a plain file.
* So, fail attempts to readdir() on a plain file.
*/
diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c
index e50e17b0e64d..9eaf6b139694 100644
--- a/sys/geom/geom_vfs.c
+++ b/sys/geom/geom_vfs.c
@@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct buf *bp)
/* G_VALID_CONSUMER(cp); We likely lack topology lock */
/*
- * If the the provider has orphaned us, just return EXIO.
+ * If the provider has orphaned us, just return EXIO.
*/
if (cp->provider == NULL) {
bp->b_error = ENXIO;
diff --git a/sys/geom/part/g_part_ebr.c b/sys/geom/part/g_part_ebr.c
index 0976017807fa..7bf0c55a07e2 100644
--- a/sys/geom/part/g_part_ebr.c
+++ b/sys/geom/part/g_part_ebr.c
@@ -591,7 +591,7 @@ g_part_ebr_write(struct g_part_table *basetable, struct g_consumer *cp)
while (baseentry != NULL && baseentry->gpe_deleted)
baseentry = LIST_NEXT(baseentry, gpe_entry);
- /* Wipe-out the the first EBR when there are no slices. */
+ /* Wipe-out the first EBR when there are no slices. */
if (baseentry == NULL) {
error = g_write_data(cp, 0, buf, pp->sectorsize);
goto out;
diff --git a/sys/geom/sched/gs_scheduler.h b/sys/geom/sched/gs_scheduler.h
index 31e47e62ce7d..9ebc1a9f726b 100644
--- a/sys/geom/sched/gs_scheduler.h
+++ b/sys/geom/sched/gs_scheduler.h
@@ -144,7 +144,7 @@ struct g_sched_class {
/*
* Manipulate the classifier's data. g_sched_get_class() gets a reference
- * to the the class corresponding to bp in gp, allocating and initializing
+ * to the class corresponding to bp in gp, allocating and initializing
* it if necessary. g_sched_put_class() releases the reference.
* The returned value points to the private data for the class.
*/
diff --git a/sys/gnu/fs/xfs/xfs_dir_leaf.c b/sys/gnu/fs/xfs/xfs_dir_leaf.c
index 28f431c664cc..f89cde1a6655 100644
--- a/sys/gnu/fs/xfs/xfs_dir_leaf.c
+++ b/sys/gnu/fs/xfs/xfs_dir_leaf.c
@@ -2153,7 +2153,7 @@ xfs_dir_leaf_getdents_int(
}
/*
- * Format a dirent64 structure and copy it out the the user's buffer.
+ * Format a dirent64 structure and copy it out the user's buffer.
*/
int
xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa)
@@ -2185,7 +2185,7 @@ xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa)
}
/*
- * Format a dirent64 structure and copy it out the the user's buffer.
+ * Format a dirent64 structure and copy it out the user's buffer.
*/
int
xfs_dir_put_dirent64_uio(xfs_dir_put_args_t *pa)
diff --git a/sys/gnu/fs/xfs/xfs_itable.c b/sys/gnu/fs/xfs/xfs_itable.c
index 37a65247faf7..b8f9f6f5f1cf 100644
--- a/sys/gnu/fs/xfs/xfs_itable.c
+++ b/sys/gnu/fs/xfs/xfs_itable.c
@@ -777,7 +777,7 @@ xfs_inumbers(
xfs_buf_relse(agbp);
agbp = NULL;
/*
- * Move up the the last inode in the current
+ * Move up the last inode in the current
* chunk. The lookup_ge will always get
* us the first inode in the next chunk.
*/
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 9fede685cba7..375267943edc 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -255,7 +255,7 @@ trap(struct trapframe *frame)
* A trap can occur while DTrace executes a probe. Before
* executing the probe, DTrace blocks re-scheduling and sets
* a flag in it's per-cpu flags to indicate that it doesn't
- * want to fault. On returning from the the probe, the no-fault
+ * want to fault. On returning from the probe, the no-fault
* flag is cleared and finally re-scheduling is enabled.
*
* If the DTrace kernel module has registered a trap handler,
diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c
index 3f961a2e03b2..7f90a02ebf2a 100644
--- a/sys/kern/subr_unit.c
+++ b/sys/kern/subr_unit.c
@@ -41,7 +41,7 @@
*
* If a mutex is not provided when the unit number space is created, a
* default global mutex is used. The advantage to passing a mutex in, is
- * that the the alloc_unrl() function can be called with the mutex already
+ * that the alloc_unrl() function can be called with the mutex already
* held (it will not be released by alloc_unrl()).
*
* The allocation function alloc_unr{l}() never sleeps (but it may block on
@@ -52,7 +52,7 @@
*
* A userland test program is included.
*
- * Memory usage is a very complex function of the the exact allocation
+ * Memory usage is a very complex function of the exact allocation
* pattern, but always very compact:
* * For the very typical case where a single unbroken run of unit
* numbers are allocated 44 bytes are used on i386.
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index e1c00fe1e167..01de5ed9affd 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -1175,7 +1175,7 @@ witness_checkorder(struct lock_object *lock, int flags, const char *file,
mtx_assert(&w_mtx, MA_OWNED);
/*
- * If we know that the the lock we are acquiring comes after
+ * If we know that the lock we are acquiring comes after
* the lock we most recently acquired in the lock order tree,
* then there is no need for any further checks.
*/
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 4e9ff6e6c670..871132ccf615 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m)
}
/*
- * Attach the the cluster from *m to *n, set up m_ext in *n
+ * Attach the cluster from *m to *n, set up m_ext in *n
* and bump the refcount of the cluster.
*/
static void
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index 3b858de89a1e..f20e159efa11 100644
--- a/sys/mips/mips/pmap.c
+++ b/sys/mips/mips/pmap.c
@@ -2018,7 +2018,7 @@ validate:
pmap_update_page(pmap, va, newpte);
/*
- * Sync I & D caches for executable pages. Do this only if the the
+ * Sync I & D caches for executable pages. Do this only if the
* target pmap belongs to the current process. Otherwise, an
* unresolvable TLB miss may occur.
*/
@@ -2152,7 +2152,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_offset_t va, vm_page_t m,
else {
*pte |= PTE_RO;
/*
- * Sync I & D caches. Do this only if the the target pmap
+ * Sync I & D caches. Do this only if the target pmap
* belongs to the current process. Otherwise, an
* unresolvable TLB miss may occur. */
if (pmap == &curproc->p_vmspace->vm_pmap) {
diff --git a/sys/mips/rmi/fmn.c b/sys/mips/rmi/fmn.c
index f42dfeaef93a..f7686cba7610 100644
--- a/sys/mips/rmi/fmn.c
+++ b/sys/mips/rmi/fmn.c
@@ -99,7 +99,7 @@ static int msgring_maxthreads = 3;
TUNABLE_INT("hw.fmn.maxthreads", &msgring_maxthreads);
/*
- * The device drivers can register a handler for the the messages sent
+ * The device drivers can register a handler for the messages sent
* from a station (corresponding to the device).
*/
struct tx_stn_handler {
@@ -148,7 +148,7 @@ xlr_msgring_cpu_init(void)
* For sending FMN messages, we need credits on the destination
* bucket. Program the credits this core has on the 128 possible
* destination buckets.
- * We cannot use a loop here, because the the first argument has
+ * We cannot use a loop here, because the first argument has
* to be a constant integer value.
*/
MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters);
diff --git a/sys/mips/sibyte/sb_zbpci.c b/sys/mips/sibyte/sb_zbpci.c
index 243ed08e7d7b..f4df353c7374 100644
--- a/sys/mips/sibyte/sb_zbpci.c
+++ b/sys/mips/sibyte/sb_zbpci.c
@@ -110,7 +110,7 @@ zbpci_attach(device_t dev)
panic("%s: port_rman", __func__);
/*
- * Reserve the the physical memory that is used to read/write to the
+ * Reserve the physical memory that is used to read/write to the
* pci config space but don't activate it. We are using a page worth
* of KVA as a window over this region.
*/
diff --git a/sys/net/if_media.c b/sys/net/if_media.c
index 392813665d35..22bdc82af18f 100644
--- a/sys/net/if_media.c
+++ b/sys/net/if_media.c
@@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd)
/*
* If no change, we're done.
* XXX Automedia may invole software intervention.
- * Keep going in case the the connected media changed.
+ * Keep going in case the connected media changed.
* Similarly, if best match changed (kernel debugger?).
*/
if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) &&
diff --git a/sys/net/route.c b/sys/net/route.c
index 90885b053c1b..f38d6a60c35b 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -539,7 +539,7 @@ rtredirect_fib(struct sockaddr *dst,
goto done;
/*
* Create a new entry if we just got back a wildcard entry
- * or the the lookup failed. This is necessary for hosts
+ * or the lookup failed. This is necessary for hosts
* which use routing redirects generated by smart gateways
* to dynamically build the routing tables.
*/
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
index f07da3a5527e..e90cab2449f6 100644
--- a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
+++ b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
@@ -560,7 +560,7 @@ ng_btsocket_rfcomm_connect(struct socket *so, struct sockaddr *nam,
soclose(l2so); /* we don't need new L2CAP socket */
/*
- * Check if we already have the same DLCI the the same session
+ * Check if we already have the same DLCI the same session
*/
mtx_lock(&s->session_mtx);
diff --git a/sys/netgraph/ng_source.c b/sys/netgraph/ng_source.c
index 5bacf7975590..e1828ac7a898 100644
--- a/sys/netgraph/ng_source.c
+++ b/sys/netgraph/ng_source.c
@@ -604,7 +604,7 @@ ng_source_disconnect(hook_p hook)
}
/*
- * Set sc->output_ifp to point to the the struct ifnet of the interface
+ * Set sc->output_ifp to point to the struct ifnet of the interface
* reached via our output hook.
*/
static int
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 569047e26f9f..764046a35bb0 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -810,7 +810,7 @@ reply:
/*
* Also check that the node which sent the ARP packet
- * is on the the interface we expect it to be on. This
+ * is on the interface we expect it to be on. This
* avoids ARP chaos if an interface is connected to the
* wrong network.
*/
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 6e1153d0b739..e3aae04855cd 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1031,7 +1031,7 @@ found:
* segment. If it provides all of our data, drop us, otherwise
* stick new segment in the proper place.
*
- * If some of the data is dropped from the the preceding
+ * If some of the data is dropped from the preceding
* segment, then it's checksum is invalidated.
*/
if (p) {
diff --git a/sys/netinet/ipfw/ip_fw_private.h b/sys/netinet/ipfw/ip_fw_private.h
index ac55433750a1..13df9c93ee8c 100644
--- a/sys/netinet/ipfw/ip_fw_private.h
+++ b/sys/netinet/ipfw/ip_fw_private.h
@@ -90,7 +90,7 @@ struct ip_fw_args {
/*
* On return, it points to the matching rule.
* On entry, rule.slot > 0 means the info is valid and
- * contains the the starting rule for an ipfw search.
+ * contains the starting rule for an ipfw search.
* If chain_id == chain->id && slot >0 then jump to that slot.
* Otherwise, we locate the first rule >= rulenum:rule_id
*/
diff --git a/sys/netinet/libalias/alias_sctp.c b/sys/netinet/libalias/alias_sctp.c
index 3bd5331d1764..bb0f9cc8476a 100644
--- a/sys/netinet/libalias/alias_sctp.c
+++ b/sys/netinet/libalias/alias_sctp.c
@@ -1929,7 +1929,7 @@ UP_process(struct libalias *la, int direction, struct sctp_nat_assoc *assoc, str
* @brief Process SCTP message while association is in the process of closing
*
* This function waits for a SHUT-COMP to close the association. Depending on
- * the the setting of sysctl_holddown_timer it may not remove the association
+ * the setting of sysctl_holddown_timer it may not remove the association
* immediately, but leave it up until SN_X_T(la). Only SHUT-COMP, SHUT-ACK, and
* ABORT packets are permitted in this state. All other packets are dropped.
*
diff --git a/sys/netinet/tcp_offload.h b/sys/netinet/tcp_offload.h
index 48f35ff66a14..313185f6ea6e 100644
--- a/sys/netinet/tcp_offload.h
+++ b/sys/netinet/tcp_offload.h
@@ -56,7 +56,7 @@
*
* It is assumed that individuals deploying TOE will want connections
* to be offloaded without software changes so all connections on an
- * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD
+ * interface providing TOE are offloaded unless the SO_NO_OFFLOAD
* flag is set on the socket.
*
*
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index ca52cc752f73..909381abbb49 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1383,7 +1383,7 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, void *vip)
mtu = V_tcp_minmss
+ sizeof(struct tcpiphdr);
/*
- * Only cache the the MTU if it
+ * Only cache the MTU if it
* is smaller than the interface
* or route MTU. tcp_mtudisc()
* will do right thing by itself.
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 39de21c54921..ede370262ea2 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -524,7 +524,7 @@ syncache_chkrst(struct in_conninfo *inc, struct tcphdr *th)
* used, or we are under memory pressure, a valid RST
* may not find a syncache entry. In that case we're
* done and no SYN|ACK retransmissions will happen.
- * Otherwise the the RST was misdirected or spoofed.
+ * Otherwise the RST was misdirected or spoofed.
*/
if (sc == NULL) {
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 42df4fe94634..aab950dab408 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -397,7 +397,7 @@ tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th,
}
/*
- * Drop the the segment if it does not contain an ACK.
+ * Drop the segment if it does not contain an ACK.
*/
if ((thflags & TH_ACK) == 0)
goto drop;
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index eadfc090b5f9..7abbfa400a16 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -78,7 +78,7 @@
/*
* IPv6 port allocation rules should mirror the IPv4 rules and are controlled
- * by the the net.inet.ip.portrange sysctl tree. The following defines exist
+ * by the net.inet.ip.portrange sysctl tree. The following defines exist
* for compatibility with userland applications that need them.
*/
#if __BSD_VISIBLE
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 8373f45163c5..fd65d7247e46 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, void *data)
/*
* Set up a bio request for fdstrategy(). bio_offset is faked
- * so that fdstrategy() will seek to the the requested
+ * so that fdstrategy() will seek to the requested
* cylinder, and use the desired head.
*/
bp->bio_cmd = cmd;
diff --git a/sys/sparc64/include/iommureg.h b/sys/sparc64/include/iommureg.h
index f4d0349903ea..10a107d331f9 100644
--- a/sys/sparc64/include/iommureg.h
+++ b/sys/sparc64/include/iommureg.h
@@ -194,7 +194,7 @@
* Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use
* this scheme to determine the IOVA base address. Instead, bits 31-29 are
* used to check against the Target Address Space register in the IIi and
- * the the IOMMU is used if they hit. God knows what goes on in the IIe.
+ * the IOMMU is used if they hit. God knows what goes on in the IIe.
*
*/
diff --git a/sys/sparc64/pci/sbbc.c b/sys/sparc64/pci/sbbc.c
index 0aa1df3850c6..be95f0532114 100644
--- a/sys/sparc64/pci/sbbc.c
+++ b/sys/sparc64/pci/sbbc.c
@@ -335,7 +335,7 @@ sbbc_pci_attach(device_t dev)
rid = SBBC_PCI_BAR;
/*
* Note that we don't activate the resource so it's not mapped twice
- * but only once by the the firmware.
+ * but only once by the firmware.
*/
sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0);
if (sc->sc_res == NULL) {
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c
index b9e5d94a5342..38239b877156 100644
--- a/sys/sparc64/sparc64/trap.c
+++ b/sys/sparc64/sparc64/trap.c
@@ -433,7 +433,7 @@ trap_cecc(void)
cache_flush();
/* Ensure the caches are still turned on (should be). */
cache_enable(PCPU_GET(impl));
- /* Clear the the error from the AFSR. */
+ /* Clear the error from the AFSR. */
stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR));
corrected_ecc++;
printf("corrected ECC error\n");
diff --git a/sys/sys/aac_ioctl.h b/sys/sys/aac_ioctl.h
index 69af10e73a71..1c04a7c58416 100644
--- a/sys/sys/aac_ioctl.h
+++ b/sys/sys/aac_ioctl.h
@@ -117,7 +117,7 @@ union aac_statrequest {
/* Do the native version of the ioctls. Since the BSD encoding scheme
* conflicts with the 'standard' AAC encoding scheme, the resulting numbers
* will be different. The '8' comes from the fact that the previous scheme
- * used 12 bits for the number, with the the 12th bit being the only set
+ * used 12 bits for the number, with the 12th bit being the only set
* bit above bit 8. Thus the value of 8, with the lower 8 bits holding the
* command number. 9 is used for the odd overflow case.
*/
diff --git a/usr.bin/lex/misc.c b/usr.bin/lex/misc.c
index 6048f5de9de0..b78c8dfa8a3a 100644
--- a/usr.bin/lex/misc.c
+++ b/usr.bin/lex/misc.c
@@ -707,7 +707,7 @@ const char str[];
}
-/* readable_form - return the the human-readable form of a character
+/* readable_form - return the human-readable form of a character
*
* The returned string is in static storage.
*/
diff --git a/usr.bin/m4/gnum4.c b/usr.bin/m4/gnum4.c
index f4cfa7786017..edfe296ec058 100644
--- a/usr.bin/m4/gnum4.c
+++ b/usr.bin/m4/gnum4.c
@@ -54,7 +54,7 @@ int mimic_gnu = 0;
/*
* Support for include path search
- * First search in the the current directory.
+ * First search in the current directory.
* If not found, and the path is not absolute, include path kicks in.
* First, -I options, in the order found on the command line.
* Then M4PATH env variable
diff --git a/usr.bin/make/lst.c b/usr.bin/make/lst.c
index be30621ad3a8..d57c34b32a10 100644
--- a/usr.bin/make/lst.c
+++ b/usr.bin/make/lst.c
@@ -98,7 +98,7 @@ Lst_Append(Lst *list, LstNode *ln, void *d)
* LST_CONCLINK if should just be relinked
*
* Side Effects:
- * New elements are created and appended the the first list.
+ * New elements are created and appended the first list.
*/
void
Lst_Concat(Lst *list1, Lst *list2, int flags)
diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c
index a2e662961ada..549bef5e109d 100644
--- a/usr.bin/rpcinfo/rpcinfo.c
+++ b/usr.bin/rpcinfo/rpcinfo.c
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
/*
* rpcinfo: ping a particular rpc program
- * or dump the the registered programs on the remote machine.
+ * or dump the registered programs on the remote machine.
*/
/*
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index 58c48001a346..a64fc4d00c8c 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -492,7 +492,7 @@ install(const char *from_name, const char *to_name, u_long fset, u_int flags)
* flags, except for the dump flag.
* NFS does not support flags. Ignore EOPNOTSUPP flags if we're just
* trying to turn off UF_NODUMP. If we're trying to set real flags,
- * then warn if the the fs doesn't support it, otherwise fail.
+ * then warn if the fs doesn't support it, otherwise fail.
*/
if (!devnull && (flags & SETFLAGS ||
(from_sb.st_flags & ~UF_NODUMP) != to_sb.st_flags) &&
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c
index 47b2541e9035..f59891039666 100644
--- a/usr.sbin/moused/moused.c
+++ b/usr.sbin/moused/moused.c
@@ -931,7 +931,7 @@ main(int argc, char *argv[])
/*
* We cannot continue because of error. Exit if the
* program has not become a daemon. Otherwise, block
- * until the the user corrects the problem and issues SIGHUP.
+ * until the user corrects the problem and issues SIGHUP.
*/
if (!background)
exit(1);
diff --git a/usr.sbin/rpcbind/util.c b/usr.sbin/rpcbind/util.c
index 7a300d2c6423..6c41253d2ece 100644
--- a/usr.sbin/rpcbind/util.c
+++ b/usr.sbin/rpcbind/util.c
@@ -237,7 +237,7 @@ addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,
found:
/*
- * Construct the new address using the the address from
+ * Construct the new address using the address from
* `bestif', and the port number from `serv_uaddr'.
*/
serv_nbp = uaddr2taddr(nconf, serv_uaddr);
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index df48caa3c6e5..d265522c16e9 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -953,7 +953,7 @@ installFixupBase(dialogMenuItem *self)
vsystem("mtree -deU -f /etc/mtree/BSD.usr.dist -p /usr");
#ifdef __ia64__
- /* Move /boot to the the EFI partition and make /boot a link to it. */
+ /* Move /boot to the EFI partition and make /boot a link to it. */
efi_mntpt = (EfiChunk != NULL) ? ((PartInfo *)EfiChunk->private_data)->mountpoint : NULL;
if (efi_mntpt != NULL) {
vsystem("if [ ! -L /boot ]; then mv /boot %s; fi", efi_mntpt);