git: 4fdc5b8494b4 - main - g_vfs_close(): vp is unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Nov 2021 03:04:02 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4fdc5b8494b46007549b1932c64e11cf634599a1 commit 4fdc5b8494b46007549b1932c64e11cf634599a1 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-11-18 03:02:59 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-11-18 03:02:59 +0000 g_vfs_close(): vp is unused Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/geom/geom_vfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c index ab068d7c85d5..592062b8b12a 100644 --- a/sys/geom/geom_vfs.c +++ b/sys/geom/geom_vfs.c @@ -302,13 +302,11 @@ g_vfs_close(struct g_consumer *cp) { struct g_geom *gp; struct g_vfs_softc *sc; - struct vnode *vp; g_topology_assert(); gp = cp->geom; sc = gp->softc; - vp = cp->private; bufobj_invalbuf(sc->sc_bo, V_SAVE, 0, 0); sc->sc_bo->bo_private = cp->private; gp->softc = NULL;