From e7993db787cee7ba531ae6a76df05e74ba765f4d Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 18 Oct 2013 19:58:11 +0000 Subject: [PATCH] remove unused variables --- sys/fs/hfs/hfs_vnops.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/fs/hfs/hfs_vnops.c b/sys/fs/hfs/hfs_vnops.c index 0f2cfe11da39..f84efba3e07d 100644 --- a/sys/fs/hfs/hfs_vnops.c +++ b/sys/fs/hfs/hfs_vnops.c @@ -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 -__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);