Module Name: src Committed By: martin Date: Sun Sep 15 15:32:19 UTC 2013
Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Remove unused variables To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/sys/ufs/ufs/ufs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ufs/ufs/ufs_vnops.c diff -u src/sys/ufs/ufs/ufs_vnops.c:1.217 src/sys/ufs/ufs/ufs_vnops.c:1.218 --- src/sys/ufs/ufs/ufs_vnops.c:1.217 Sun Aug 11 04:36:17 2013 +++ src/sys/ufs/ufs/ufs_vnops.c Sun Sep 15 15:32:18 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: ufs_vnops.c,v 1.217 2013/08/11 04:36:17 dholland Exp $ */ +/* $NetBSD: ufs_vnops.c,v 1.218 2013/09/15 15:32:18 martin Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.217 2013/08/11 04:36:17 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.218 2013/09/15 15:32:18 martin Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -280,10 +280,8 @@ ufs_close(void *v) kauth_cred_t a_cred; } */ *ap = v; struct vnode *vp; - struct inode *ip; vp = ap->a_vp; - ip = VTOI(vp); fstrans_start(vp->v_mount, FSTRANS_SHARED); if (vp->v_usecount > 1) UFS_ITIMES(vp, NULL, NULL, NULL); @@ -1624,10 +1622,8 @@ ufsspec_close(void *v) kauth_cred_t a_cred; } */ *ap = v; struct vnode *vp; - struct inode *ip; vp = ap->a_vp; - ip = VTOI(vp); if (vp->v_usecount > 1) UFS_ITIMES(vp, NULL, NULL, NULL); return (VOCALL (spec_vnodeop_p, VOFFSET(vop_close), ap)); @@ -1687,10 +1683,8 @@ ufsfifo_close(void *v) kauth_cred_t a_cred; } */ *ap = v; struct vnode *vp; - struct inode *ip; vp = ap->a_vp; - ip = VTOI(vp); if (ap->a_vp->v_usecount > 1) UFS_ITIMES(vp, NULL, NULL, NULL); return (VOCALL (fifo_vnodeop_p, VOFFSET(vop_close), ap));