summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c18
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:
*
OpenPOWER on IntegriCloud