aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-08-17 19:47:28 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-08-17 19:47:28 +0000
commitfa5cde129b3a1878f5fe381504812eb72d693c27 (patch)
treef37b2b472a8cc93a51615ba75f34a12b7d54df09 /sys/kern
parent489efa52f0f564772804d26fe198588997050555 (diff)
downloadsrc-fa5cde129b3a1878f5fe381504812eb72d693c27.tar.gz
src-fa5cde129b3a1878f5fe381504812eb72d693c27.zip
Delete a bit of debugging code that mistakenly crept in, and as a consequence
revert rev. 1.28's header file additions which are no longer needed.
Notes
Notes: svn path=/head/; revision=28322
Diffstat (limited to 'sys/kern')
-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 aab8734c2cee..f8275d54a00e 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)