summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2007-09-01 03:41:17 +0000
committermarco <marco@openbsd.org>2007-09-01 03:41:17 +0000
commit48758a974ecabd66e3b6b881830dd299ecee568d (patch)
treec4088348eb5fcc525a72823e238653a56bdf701b
parentInclude err.h and remove unused variables. (diff)
downloadwireguard-openbsd-48758a974ecabd66e3b6b881830dd299ecee568d.tar.xz
wireguard-openbsd-48758a974ecabd66e3b6b881830dd299ecee568d.zip
Remove stale comments; prompted by millert.
-rw-r--r--sys/arch/amd64/include/bus.h3
-rw-r--r--sys/arch/i386/include/bus.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/bus.h b/sys/arch/amd64/include/bus.h
index 9970e0f3191..def7bd18ca4 100644
--- a/sys/arch/amd64/include/bus.h
+++ b/sys/arch/amd64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.6 2007/08/31 20:11:09 marco Exp $ */
+/* $OpenBSD: bus.h,v 1.7 2007/09/01 03:41:17 marco Exp $ */
/* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */
/*-
@@ -962,7 +962,6 @@ bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t bsh,
*
* Get the kernel virtual address for the mapped bus space.
* Only allowed for regions mapped with BUS_SPACE_MAP_LINEAR.
- * (XXX not enforced)
*/
#define bus_space_vaddr(t, h) \
((t) == X86_BUS_SPACE_IO ? (void *)(NULL) : (void *)(h))
diff --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h
index c07289b953a..3acbf19c6ec 100644
--- a/sys/arch/i386/include/bus.h
+++ b/sys/arch/i386/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.41 2007/08/22 21:28:41 marco Exp $ */
+/* $OpenBSD: bus.h,v 1.42 2007/09/01 03:41:17 marco Exp $ */
/* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */
/*-
@@ -740,7 +740,6 @@ void bus_space_free(bus_space_tag_t t, bus_space_handle_t bsh,
*
* Get the kernel virtual address for the mapped bus space.
* Only allowed for regions mapped with BUS_SPACE_MAP_LINEAR.
- * (XXX not enforced)
*/
#define bus_space_vaddr(t, h) \
((t) == I386_BUS_SPACE_IO ? (void *)(NULL) : (void *)(h))