diff options
Diffstat (limited to 'module/zfs/pathname.c')
-rw-r--r-- | module/zfs/pathname.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/module/zfs/pathname.c b/module/zfs/pathname.c index 4766762f37d17..84ab7b7e11114 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 } |