summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-04-11 00:45:10 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-04-11 00:45:10 +0000
commit32110f5917b46b67233f9faa81302b57c38dc68d (patch)
tree8fc0cc7429f47609a9f24c9adeb151067f552ddd /sys/net
parent3430d1a7ed898bbc52c200db6907c3deedd91aec (diff)
fix double words in comments
feedback and ok jmc@ miod, ok millert@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/hfsc.c4
-rw-r--r--sys/net/ofp.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/hfsc.c b/sys/net/hfsc.c
index 006c83d6808..88f150ed2da 100644
--- a/sys/net/hfsc.c
+++ b/sys/net/hfsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hfsc.c,v 1.48 2018/10/22 23:44:53 dlg Exp $ */
+/* $OpenBSD: hfsc.c,v 1.49 2023/04/11 00:45:09 jsg Exp $ */
/*
* Copyright (c) 2012-2013 Henning Brauer <henning@openbsd.org>
@@ -72,7 +72,7 @@
* representation.
* the slope values are scaled to avoid overflow.
* the inverse slope values as well as the y-projection of the 1st
- * segment are kept in order to to avoid 64-bit divide operations
+ * segment are kept in order to avoid 64-bit divide operations
* that are expensive on 32-bit architectures.
*
* note: Intel Pentium TSC never wraps around in several thousands of years.
diff --git a/sys/net/ofp.h b/sys/net/ofp.h
index f57b582f112..2349127215c 100644
--- a/sys/net/ofp.h
+++ b/sys/net/ofp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofp.h,v 1.14 2021/03/10 10:21:48 jsg Exp $ */
+/* $OpenBSD: ofp.h,v 1.15 2023/04/11 00:45:09 jsg Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -193,7 +193,7 @@ struct ofp_match {
uint16_t om_length;
} __packed;
-/* Flow matching type type */
+/* Flow matching type */
#define OFP_MATCH_STANDARD 0 /* Standard match deprecated */
#define OFP_MATCH_OXM 1 /* OpenFlow Extensible Match */