diff options
Diffstat (limited to 'sys/fs/tmpfs')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_subr.c | 2 |
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; |