Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/udf PR/51777: David Binderman: Remove unused computation



details:   https://anonhg.NetBSD.org/src/rev/0da76d2c7902
branches:  trunk
changeset: 820245:0da76d2c7902
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 04 15:53:14 2017 +0000

description:
PR/51777: David Binderman: Remove unused computation

diffstat:

 sys/fs/udf/udf_allocation.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 21781e332a80 -r 0da76d2c7902 sys/fs/udf/udf_allocation.c
--- a/sys/fs/udf/udf_allocation.c       Wed Jan 04 15:51:41 2017 +0000
+++ b/sys/fs/udf/udf_allocation.c       Wed Jan 04 15:53:14 2017 +0000
@@ -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 @@
                bitval = (1 << bit);
                if (!(*bpos & bitval))
                        seq_free = 0;
-               offset++; to_trunc--;
+               to_trunc--;
                bit++;
                if (bit == 8) {
                        bpos++;



Home | Main Index | Thread Index | Old Index