g_vfs_close(): vp is unused
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
fea4a9aff1
commit
4fdc5b8494
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user