Module Name:    src
Committed By:   christos
Date:           Fri Oct 18 19:58:11 UTC 2013

Modified Files:
        src/sys/fs/hfs: hfs_vnops.c

Log Message:
remove unused variables


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/fs/hfs/hfs_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/fs/hfs/hfs_vnops.c
diff -u src/sys/fs/hfs/hfs_vnops.c:1.27 src/sys/fs/hfs/hfs_vnops.c:1.28
--- src/sys/fs/hfs/hfs_vnops.c:1.27	Mon Mar 18 15:35:37 2013
+++ src/sys/fs/hfs/hfs_vnops.c	Fri Oct 18 15:58:11 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: hfs_vnops.c,v 1.27 2013/03/18 19:35:37 plunky Exp $	*/
+/*	$NetBSD: hfs_vnops.c,v 1.28 2013/10/18 19:58:11 christos Exp $	*/
 
 /*-
  * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hfs_vnops.c,v 1.27 2013/03/18 19:35:37 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hfs_vnops.c,v 1.28 2013/10/18 19:58:11 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"
@@ -325,7 +325,6 @@ hfs_vop_lookup(void *v)
 		struct vnode ** a_vpp;
 		struct componentname * a_cnp;
 	} */ *ap = v;
-	struct buf *bp;			/* a buffer of directory entries */
 	struct componentname *cnp;
 	struct hfsnode *dp;	/* hfsnode for directory being searched */
 	kauth_cred_t cred;
@@ -343,7 +342,6 @@ hfs_vop_lookup(void *v)
 
 	DPRINTF(("VOP = hfs_vop_lookup()\n"));
 
-	bp = NULL;
 	cnp = ap->a_cnp;
 	cred = cnp->cn_cred;
 	vdp = ap->a_dvp;
@@ -1027,13 +1025,11 @@ hfs_vop_reclaim(void *v)
 	} */ *ap = v;
 	struct vnode *vp;
 	struct hfsnode *hp;
-	struct hfsmount *hmp;
 	
 	DPRINTF(("VOP = hfs_vop_reclaim()\n"));
 
 	vp = ap->a_vp;
 	hp = VTOH(vp);
-	hmp = hp->h_hmp;
 
 	/* Remove the hfsnode from its hash chain. */
 	hfs_nhashremove(hp);

Reply via email to