build fix: remove unused variables
This commit is contained in:
parent
740a2c079c
commit
9c45aac9d8
@ -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.
|
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||||
@ -70,7 +70,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_ffs.h"
|
#include "opt_ffs.h"
|
||||||
@ -1535,7 +1535,6 @@ ffs_blkfree(struct fs *fs, struct vnode *devvp, daddr_t bno, long size,
|
|||||||
int error, cg;
|
int error, cg;
|
||||||
dev_t dev;
|
dev_t dev;
|
||||||
const bool devvp_is_snapshot = (devvp->v_type != VBLK);
|
const bool devvp_is_snapshot = (devvp->v_type != VBLK);
|
||||||
const int needswap = UFS_FSNEEDSWAP(fs);
|
|
||||||
|
|
||||||
KASSERT(!devvp_is_snapshot);
|
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;
|
int error, cg;
|
||||||
dev_t dev;
|
dev_t dev;
|
||||||
const bool devvp_is_snapshot = (devvp->v_type != VBLK);
|
const bool devvp_is_snapshot = (devvp->v_type != VBLK);
|
||||||
const int needswap = UFS_FSNEEDSWAP(fs);
|
|
||||||
|
|
||||||
KASSERT(devvp_is_snapshot);
|
KASSERT(devvp_is_snapshot);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user