summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-02-22 01:15:03 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-02-22 01:15:03 +0000
commitee20b913ca71547bc9a6cfd7e249cad6c27573dd (patch)
treea806a4974e3ceeba3e682c02d3ed117f89692184 /sys/kern
parentc38c5711c2e4cbdec0c0ec5c9bf50ec1fa6f6b73 (diff)
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>
net/if_pppx.c pointed out by jsg@ ok gnezdo@ deraadt@ jsg@ mpi@ millert@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c3
-rw-r--r--sys/kern/kern_event.c3
-rw-r--r--sys/kern/uipc_mbuf.c4
3 files changed, 3 insertions, 7 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 3ca2a9226b5..bfc324c3ae5 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.314 2022/01/01 07:00:57 jsg Exp $ */
+/* $OpenBSD: init_main.c,v 1.315 2022/02/22 01:15:01 guenther Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -58,7 +58,6 @@
#include <sys/device.h>
#include <sys/socketvar.h>
#include <sys/lockf.h>
-#include <sys/protosw.h>
#include <sys/reboot.h>
#include <sys/user.h>
#ifdef SYSVSHM
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
index 8e5911fc734..eece57cfaca 100644
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_event.c,v 1.182 2022/02/13 13:05:51 visa Exp $ */
+/* $OpenBSD: kern_event.c,v 1.183 2022/02/22 01:15:01 guenther Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
@@ -45,7 +45,6 @@
#include <sys/eventvar.h>
#include <sys/ktrace.h>
#include <sys/pool.h>
-#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/stat.h>
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 2f11e8c43d5..ce0d6f2c25e 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.282 2022/02/14 04:33:18 dlg Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.283 2022/02/22 01:15:01 guenther Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -81,8 +81,6 @@
#include <sys/mbuf.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
-#include <sys/domain.h>
-#include <sys/protosw.h>
#include <sys/pool.h>
#include <sys/percpu.h>
#include <sys/sysctl.h>