diff options
author | imp <imp@FreeBSD.org> | 2015-09-11 04:20:04 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-09-11 04:20:04 +0000 |
commit | dbff6658748dba76c92d716e046ad1d727755a5e (patch) | |
tree | bfa6fe311ef7713e8a67733d533ba2de847fa87f | |
parent | 052afc4e16793e18813ac7c44c547b992592656d (diff) | |
download | FreeBSD-src-dbff6658748dba76c92d716e046ad1d727755a5e.zip FreeBSD-src-dbff6658748dba76c92d716e046ad1d727755a5e.tar.gz |
bufdonebio is now unused. Retire it too.
-rw-r--r-- | sys/kern/vfs_bio.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 33e0e4a..ea7c0a4 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -3768,24 +3768,6 @@ bufwait(struct buf *bp) } } - /* - * Call back function from struct bio back up to struct buf. - */ -static void -bufdonebio(struct bio *bip) -{ - struct buf *bp; - - bp = bip->bio_caller2; - bp->b_resid = bip->bio_resid; - bp->b_ioflags = bip->bio_flags; - bp->b_error = bip->bio_error; - if (bp->b_error) - bp->b_ioflags |= BIO_ERROR; - bufdone(bp); - g_destroy_bio(bip); -} - /* * bufdone: * |