From 0be360124f8f108f73365e31448e7550f877f3ac Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Sat, 17 Oct 2020 00:05:34 +0000 Subject: Update OpenZFS to 2.0.0-rc3-gbd565f --- module/zfs/pathname.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'module/zfs/pathname.c') diff --git a/module/zfs/pathname.c b/module/zfs/pathname.c index 4766762f37d1..84ab7b7e1111 100644 --- a/module/zfs/pathname.c +++ b/module/zfs/pathname.c @@ -73,10 +73,6 @@ pn_alloc_sz(struct pathname *pnp, size_t sz) { pnp->pn_buf = kmem_alloc(sz, KM_SLEEP); pnp->pn_bufsize = sz; -#if 0 /* unused in ZoL */ - pnp->pn_path = pnp->pn_buf; - pnp->pn_pathlen = 0; -#endif } /* @@ -89,8 +85,4 @@ pn_free(struct pathname *pnp) kmem_free(pnp->pn_buf, pnp->pn_bufsize); pnp->pn_buf = NULL; pnp->pn_bufsize = 0; -#if 0 /* unused in ZoL */ - pnp->pn_path = NULL; - pnp->pn_pathlen = 0; -#endif } -- cgit v1.2.3