Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Remove unused variables
details: https://anonhg.NetBSD.org/src/rev/eb00279f4704
branches: trunk
changeset: 790057:eb00279f4704
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 15:32:18 2013 +0000
description:
Remove unused variables
diffstat:
sys/ufs/ufs/ufs_vnops.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (51 lines):
diff -r 19ed32114efa -r eb00279f4704 sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c Sun Sep 15 15:07:06 2013 +0000
+++ b/sys/ufs/ufs/ufs_vnops.c Sun Sep 15 15:32:18 2013 +0000
@@ -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 @@
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 @@
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 @@
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));
Home |
Main Index |
Thread Index |
Old Index