From 9c45aac9d8a4575d55e73391053ee6f04a9bc401 Mon Sep 17 00:00:00 2001 From: cegger Date: Mon, 1 Dec 2008 13:33:39 +0000 Subject: [PATCH] build fix: remove unused variables --- sys/ufs/ffs/ffs_alloc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index f3fef7cdc47f..b46a7c5b8d89 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_alloc.c,v 1.116 2008/12/01 13:22:06 joerg Exp $ */ +/* $NetBSD: ffs_alloc.c,v 1.117 2008/12/01 13:33:39 cegger Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.116 2008/12/01 13:22:06 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.117 2008/12/01 13:33:39 cegger Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -1535,7 +1535,6 @@ ffs_blkfree(struct fs *fs, struct vnode *devvp, daddr_t bno, long size, int error, cg; dev_t dev; const bool devvp_is_snapshot = (devvp->v_type != VBLK); - const int needswap = UFS_FSNEEDSWAP(fs); KASSERT(!devvp_is_snapshot); @@ -1585,7 +1584,6 @@ ffs_blkfree_snap(struct fs *fs, struct vnode *devvp, daddr_t bno, long size, int error, cg; dev_t dev; const bool devvp_is_snapshot = (devvp->v_type != VBLK); - const int needswap = UFS_FSNEEDSWAP(fs); KASSERT(devvp_is_snapshot);