Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/udf vp is used, so don't (void) it



details:   https://anonhg.NetBSD.org/src/rev/a1484e3cb4b7
branches:  trunk
changeset: 787921:a1484e3cb4b7
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Jul 13 19:40:14 2013 +0000

description:
vp is used, so don't (void) it

diffstat:

 sys/fs/udf/udf_rename.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 33eccd56dcd6 -r a1484e3cb4b7 sys/fs/udf/udf_rename.c
--- a/sys/fs/udf/udf_rename.c   Sat Jul 13 19:39:02 2013 +0000
+++ b/sys/fs/udf/udf_rename.c   Sat Jul 13 19:40:14 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_rename.c,v 1.6 2013/07/13 19:39:02 reinoud Exp $ */
+/* $NetBSD: udf_rename.c,v 1.7 2013/07/13 19:40:14 reinoud Exp $ */
 
 /*
  * Copyright (c) 2013 Reinoud Zandijk
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udf_rename.c,v 1.6 2013/07/13 19:39:02 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_rename.c,v 1.7 2013/07/13 19:40:14 reinoud Exp $");
 
 #include <sys/param.h>
 #include <sys/errno.h>
@@ -408,7 +408,6 @@
 {
        struct udf_node *dir_node, *udf_node;
 
-       (void)vp;
        KASSERT(mp != NULL);
        KASSERT(dvp != NULL);
        KASSERT(cnp != NULL);



Home | Main Index | Thread Index | Old Index