summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-01-31 17:36:22 +0000
committerbz <bz@FreeBSD.org>2009-01-31 17:36:22 +0000
commit9fd12161ca2cbe826e55cef701d4c1fdb6d79911 (patch)
tree74f6b8af4d57435e5f4c1f34cfe9b0337b48a772 /sys/fs/tmpfs
parent033060866cf1aca0459bdb130e57b4184069dae6 (diff)
downloadFreeBSD-src-9fd12161ca2cbe826e55cef701d4c1fdb6d79911.zip
FreeBSD-src-9fd12161ca2cbe826e55cef701d4c1fdb6d79911.tar.gz
Remove unused local variables.
Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib MFC after: 2 weeks
Diffstat (limited to 'sys/fs/tmpfs')
-rw-r--r--sys/fs/tmpfs/tmpfs_subr.c2
1 files changed, 0 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud