summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_syscalls.c')
-rw-r--r--sys/kern/uipc_syscalls.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index aab8734..f8275d5 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -56,10 +56,6 @@
#include <sys/ktrace.h>
#endif
-#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/pmap.h>
-
extern int sendit __P((struct proc *p, int s, struct msghdr *mp, int flags,
int *retsize));
extern int recvit __P((struct proc *p, int s, struct msghdr *mp,
@@ -255,9 +251,6 @@ accept1(p, uap, retval, compat)
goto gotnoname;
return 0;
}
- if ((u_long)sa < KERNBASE) {
- panic("accept1 bad sa");
- }
if (uap->name) {
#ifdef COMPAT_OLDSOCK
if (compat)
OpenPOWER on IntegriCloud