diff options
author | alc <alc@FreeBSD.org> | 2002-01-17 17:19:40 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-01-17 17:19:40 +0000 |
commit | babe0aff74bcbfecba512507069d08d63d02bbbc (patch) | |
tree | 9fbb2e8c6e157c9a804d0092a8161abd4324071a /sys/kern/vfs_aio.c | |
parent | 072a57488af85460bddad68e6c4c395c149fe982 (diff) | |
download | FreeBSD-src-babe0aff74bcbfecba512507069d08d63d02bbbc.zip FreeBSD-src-babe0aff74bcbfecba512507069d08d63d02bbbc.tar.gz |
o Eliminate an unused parameter from aio_fphysio().
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index a47881a..b27a903 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -240,7 +240,7 @@ static int aio_newproc(void); static int aio_aqueue(struct thread *td, struct aiocb *job, int type); static void aio_physwakeup(struct buf *bp); static void aio_proc_rundown(struct proc *p); -static int aio_fphysio(struct proc *p, struct aiocblist *aiocbe); +static int aio_fphysio(struct aiocblist *aiocbe); static int aio_qphysio(struct proc *p, struct aiocblist *iocb); static void aio_daemon(void *uproc); static void aio_swake_cb(struct socket *, struct sockbuf *); @@ -448,7 +448,7 @@ aio_free_entry(struct aiocblist *aiocbe) } if (aiocbe->jobstate == JOBST_JOBQBUF) { - if ((error = aio_fphysio(p, aiocbe)) != 0) + if ((error = aio_fphysio(aiocbe)) != 0) return error; if (aiocbe->jobstate != JOBST_JOBBFINISHED) panic("aio_free_entry: invalid physio finish-up state"); @@ -1211,7 +1211,7 @@ doerror: * This waits/tests physio completion. */ static int -aio_fphysio(struct proc *p, struct aiocblist *iocb) +aio_fphysio(struct aiocblist *iocb) { int s; struct buf *bp; |