Author: imp
Date: Fri Sep 11 04:20:04 2015
New Revision: 287648
URL: https://svnweb.freebsd.org/changeset/base/287648

Log:
  bufdonebio is now unused. Retire it too.

Modified:
  head/sys/kern/vfs_bio.c

Modified: head/sys/kern/vfs_bio.c
==============================================================================
--- head/sys/kern/vfs_bio.c     Fri Sep 11 04:02:05 2015        (r287647)
+++ head/sys/kern/vfs_bio.c     Fri Sep 11 04:20:04 2015        (r287648)
@@ -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:
  *
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to