aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-09-04 15:40:25 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-09-05 13:45:35 +0000
commit94466c432ed611a49cacae7ff99b224b37c906bb (patch)
tree6547ff79d16a517389ba73439548156c886e296e
parent3c6db09bf45fd48e5e3c207f138ae1914dbeed0c (diff)
downloadsrc-94466c432ed611a49cacae7ff99b224b37c906bb.tar.gz
src-94466c432ed611a49cacae7ff99b224b37c906bb.zip
Revert "usb: Remove a double words in a source code comments"
This reverts commit 8ca67bf1273a5168f8a3787183159c477632e582. The original comment was correct; changing it loses a key part. Reported by: jrtc27
-rw-r--r--sys/dev/usb/net/if_muge.c2
-rw-r--r--sys/dev/usb/net/if_smsc.c2
-rw-r--r--sys/dev/usb/usb_busdma.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/net/if_muge.c b/sys/dev/usb/net/if_muge.c
index c705fcd56eed..3087eb40b40a 100644
--- a/sys/dev/usb/net/if_muge.c
+++ b/sys/dev/usb/net/if_muge.c
@@ -1556,7 +1556,7 @@ muge_set_leds(struct usb_ether *ue)
* @ue: the USB ethernet device
*
* This is where the chip is intialised for the first time. This is
- * different from the muge_init() function in that one is designed to
+ * different from the muge_init() function in that that one is designed to
* setup the H/W to match the UE settings and can be called after a reset.
*
*/
diff --git a/sys/dev/usb/net/if_smsc.c b/sys/dev/usb/net/if_smsc.c
index c34cc85269cc..e3b4ae9a5cbd 100644
--- a/sys/dev/usb/net/if_smsc.c
+++ b/sys/dev/usb/net/if_smsc.c
@@ -1545,7 +1545,7 @@ smsc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
* @ue: the USB ethernet device
*
* This is where the chip is intialised for the first time. This is different
- * from the smsc_init() function in that one is designed to setup the
+ * from the smsc_init() function in that that one is designed to setup the
* H/W to match the UE settings and can be called after a reset.
*
*
diff --git a/sys/dev/usb/usb_busdma.c b/sys/dev/usb/usb_busdma.c
index 69d9ea292523..62e22805b39c 100644
--- a/sys/dev/usb/usb_busdma.c
+++ b/sys/dev/usb/usb_busdma.c
@@ -546,7 +546,7 @@ usb_pc_alloc_mem(struct usb_page_cache *pc, struct usb_page *pg,
/*
* XXX BUS-DMA workaround - FIXME later:
*
- * We assume that the alignment at this point of
+ * We assume that that the alignment at this point of
* the code is greater than or equal to the size and
* less than two times the size, so that if we double
* the size, the size will be greater than the