diff options
author | dyson <dyson@FreeBSD.org> | 1997-08-05 00:05:00 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-08-05 00:05:00 +0000 |
commit | 8a37859859e6f7dbdd0b4771735842513932eda9 (patch) | |
tree | 453a5fbbdbf8f765d0e3cdb25f92cd82c396465a /sys/kern/sys_pipe.c | |
parent | 8fa8ae3d0d6a785deced2be3e7fd647f31aaf23e (diff) | |
download | FreeBSD-src-8a37859859e6f7dbdd0b4771735842513932eda9.zip FreeBSD-src-8a37859859e6f7dbdd0b4771735842513932eda9.tar.gz |
Fix up come cruft that I left on a previous commit.
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index d2f36fd..2efb09f 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: sys_pipe.c,v 1.28 1997/04/09 16:53:39 bde Exp $ + * $Id: sys_pipe.c,v 1.29 1997/08/05 00:01:26 dyson Exp $ */ /* @@ -170,14 +170,8 @@ pipe(p, uap, retval) ZONE_WAIT, 4); rpipe = zalloc( pipe_zone); -/* - rpipe = malloc( sizeof (*rpipe), M_TEMP, M_WAITOK); -*/ pipeinit(rpipe); rpipe->pipe_state |= PIPE_DIRECTOK; -/* - wpipe = malloc( sizeof (*wpipe), M_TEMP, M_WAITOK); -*/ wpipe = zalloc( pipe_zone); pipeinit(wpipe); wpipe->pipe_state |= PIPE_DIRECTOK; @@ -1113,8 +1107,5 @@ pipeclose(cpipe) } #endif zfree(pipe_zone, cpipe); -/* - free(cpipe, M_TEMP); -*/ } } |