diff options
author | phk <phk@FreeBSD.org> | 1994-09-25 19:34:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-09-25 19:34:02 +0000 |
commit | f73f35898343587c73fd60422f7c2b15d42bae85 (patch) | |
tree | 2bdcafaa0162204e5a4853957c908b232cb276c8 /sys/kern/kern_physio.c | |
parent | 3346279530bc82ada4f70172db34ce0ddbb269bf (diff) | |
download | FreeBSD-src-f73f35898343587c73fd60422f7c2b15d42bae85.zip FreeBSD-src-f73f35898343587c73fd60422f7c2b15d42bae85.tar.gz |
While in the real world, I had a bad case of being swapped out for a lot of
cycles. While waiting there I added a lot of the extra ()'s I have, (I have
never used LISP to any extent). So I compiled the kernel with -Wall and
shut up a lot of "suggest you add ()'s", removed a bunch of unused var's
and added a couple of declarations here and there. Having a lap-top is
highly recommended. My kernel still runs, yell at me if you kernel breaks.
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r-- | sys/kern/kern_physio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index e29d0b9..4a33c46 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: kern_physio.c,v 1.6 1994/08/08 13:53:55 davidg Exp $ + * $Id: kern_physio.c,v 1.7 1994/08/18 22:35:02 wollman Exp $ */ #include <sys/param.h> @@ -74,8 +74,6 @@ physio(strategy, bp, dev, rw, minp, uio) for(i=0;i<uio->uio_iovcnt;i++) { while( uio->uio_iov[i].iov_len) { - vm_offset_t v, lastv, pa; - caddr_t adr; bp->b_bcount = uio->uio_iov[i].iov_len; bp->b_bcount = minp( bp); |