From 3cdbd5fb04d28f060f8ef1959431da3ce32e46fc Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Tue, 22 Feb 2005 19:02:24 +0000 Subject: [PATCH] remove dead code Submitted by: Coverity Prevent analysis tool --- sys/fs/unionfs/union_vfsops.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index 7c4a4b960b9..2b7d2e93cf1 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)