From 9fd12161ca2cbe826e55cef701d4c1fdb6d79911 Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 31 Jan 2009 17:36:22 +0000 Subject: Remove unused local variables. Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib MFC after: 2 weeks --- sys/fs/tmpfs/tmpfs_subr.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/fs/tmpfs') diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index fad3196..c0c6b50 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -1259,12 +1259,10 @@ tmpfs_update(struct vnode *vp) int tmpfs_truncate(struct vnode *vp, off_t length) { - boolean_t extended; int error; struct tmpfs_node *node; node = VP_TO_TMPFS_NODE(vp); - extended = length > node->tn_size; if (length < 0) { error = EINVAL; -- cgit v1.1