From owner-svn-src-head@freebsd.org Fri Sep 11 04:20:05 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFE9BA00D46; Fri, 11 Sep 2015 04:20:05 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A16EE181C; Fri, 11 Sep 2015 04:20:05 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8B4K5W9093355; Fri, 11 Sep 2015 04:20:05 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8B4K5Cu093354; Fri, 11 Sep 2015 04:20:05 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201509110420.t8B4K5Cu093354@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Fri, 11 Sep 2015 04:20:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287648 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 04:20:05 -0000 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: *