build fix: remove unused variables

This commit is contained in:
cegger 2008-12-01 13:33:39 +00:00
parent 740a2c079c
commit 9c45aac9d8

View File

@ -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 <sys/cdefs.h>
__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);