Module Name: src
Committed By: christos
Date: Wed Jan 4 15:53:14 UTC 2017
Modified Files:
src/sys/fs/udf: udf_allocation.c
Log Message:
PR/51777: David Binderman: Remove unused computation
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/fs/udf/udf_allocation.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/udf/udf_allocation.c
diff -u src/sys/fs/udf/udf_allocation.c:1.38 src/sys/fs/udf/udf_allocation.c:1.39
--- src/sys/fs/udf/udf_allocation.c:1.38 Mon Aug 24 04:30:17 2015
+++ src/sys/fs/udf/udf_allocation.c Wed Jan 4 10:53:14 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_allocation.c,v 1.38 2015/08/24 08:30:17 hannken Exp $ */
+/* $NetBSD: udf_allocation.c,v 1.39 2017/01/04 15:53:14 christos Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.38 2015/08/24 08:30:17 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.39 2017/01/04 15:53:14 christos Exp $");
#endif /* not lint */
@@ -1001,7 +1001,7 @@ udf_bitmap_check_trunc_free(struct udf_b
bitval = (1 << bit);
if (!(*bpos & bitval))
seq_free = 0;
- offset++; to_trunc--;
+ to_trunc--;
bit++;
if (bit == 8) {
bpos++;