Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/udf remove identity assignment, found by brainy.



details:   https://anonhg.NetBSD.org/src/rev/c7a95264b3c9
branches:  trunk
changeset: 340559:c7a95264b3c9
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 12 19:33:03 2015 +0000

description:
remove identity assignment, found by brainy.

diffstat:

 sys/fs/udf/udf_strat_rmw.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 88971db6da48 -r c7a95264b3c9 sys/fs/udf/udf_strat_rmw.c
--- a/sys/fs/udf/udf_strat_rmw.c        Sat Sep 12 19:31:41 2015 +0000
+++ b/sys/fs/udf/udf_strat_rmw.c        Sat Sep 12 19:33:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_strat_rmw.c,v 1.24 2013/10/30 08:41:38 mrg Exp $ */
+/* $NetBSD: udf_strat_rmw.c,v 1.25 2015/09/12 19:33:03 christos Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_strat_rmw.c,v 1.24 2013/10/30 08:41:38 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_strat_rmw.c,v 1.25 2015/09/12 19:33:03 christos Exp $");
 #endif /* not lint */
 
 
@@ -619,7 +619,6 @@
        int lb_size = udf_rw32(ump->logical_vol->lb_size);
        int i, error, dscrlen, eccsect;
 
-       lb_size = lb_size;
        KASSERT(sector_size == lb_size);
        error = udf_translate_vtop(ump, icb, &sectornr, &dummy);
        if (error)
@@ -714,7 +713,6 @@
        int lb_size = udf_rw32(ump->logical_vol->lb_size);
        int error, eccsect;
 
-       lb_size = lb_size;
        KASSERT(sector_size == lb_size);
        sectornr    = 0;
        error = udf_translate_vtop(ump, icb, &sectornr, &dummy);



Home | Main Index | Thread Index | Old Index