diff options
author | sam <sam@FreeBSD.org> | 2005-02-22 19:02:24 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-02-22 19:02:24 +0000 |
commit | e5593d91390f04fc9d874504d959c01dbebefcdd (patch) | |
tree | ccd405f4fcb9d936be20659851ad4d202c5368c5 /sys/fs/unionfs/union_vfsops.c | |
parent | f8f4cf3fa7efcd029a596a482b4664303b7d4efa (diff) | |
download | FreeBSD-src-e5593d91390f04fc9d874504d959c01dbebefcdd.zip FreeBSD-src-e5593d91390f04fc9d874504d959c01dbebefcdd.tar.gz |
remove dead code
Submitted by: Coverity Prevent analysis tool
Diffstat (limited to 'sys/fs/unionfs/union_vfsops.c')
-rw-r--r-- | sys/fs/unionfs/union_vfsops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index 7c4a4b9..2b7d2e9 100644 --- a/sys/fs/unionfs/union_vfsops.c +++ b/sys/fs/unionfs/union_vfsops.c @@ -73,7 +73,6 @@ union_mount(mp, td) struct vnode *upperrootvp = NULLVP; struct union_mount *um = 0; struct vattr va; - struct ucred *cred = 0; char *cp = 0, *target; int op; int len; @@ -312,8 +311,6 @@ bad: /* XXX other fields */ free(um, M_UNIONFSMNT); } - if (cred) - crfree(cred); if (upperrootvp) vrele(upperrootvp); if (lowerrootvp) |