Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/union Remove an unused variable
details: https://anonhg.NetBSD.org/src/rev/557ba8762aa9
branches: trunk
changeset: 326695:557ba8762aa9
user: martin <martin%NetBSD.org@localhost>
date: Thu Feb 13 21:05:26 2014 +0000
description:
Remove an unused variable
diffstat:
sys/fs/union/union_vnops.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 0106186291ef -r 557ba8762aa9 sys/fs/union/union_vnops.c
--- a/sys/fs/union/union_vnops.c Thu Feb 13 19:37:08 2014 +0000
+++ b/sys/fs/union/union_vnops.c Thu Feb 13 21:05:26 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: union_vnops.c,v 1.54 2014/02/13 09:55:04 hannken Exp $ */
+/* $NetBSD: union_vnops.c,v 1.55 2014/02/13 21:05:26 martin Exp $ */
/*
* Copyright (c) 1992, 1993, 1994, 1995
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_vnops.c,v 1.54 2014/02/13 09:55:04 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_vnops.c,v 1.55 2014/02/13 21:05:26 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1647,9 +1647,7 @@
int a_flags;
} */ *ap = v;
struct vnode *vp;
- struct union_node *un;
- un = VTOUNION(ap->a_vp);
vp = LOCKVP(ap->a_vp);
if (vp == ap->a_vp)
genfs_unlock(ap);
Home |
Main Index |
Thread Index |
Old Index