Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ext2fs CID 1371645: remove dead code



details:   https://anonhg.NetBSD.org/src/rev/88a29f85ce85
branches:  trunk
changeset: 347363:88a29f85ce85
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 23 06:23:26 2016 +0000

description:
CID 1371645: remove dead code

diffstat:

 sys/ufs/ext2fs/ext2fs_htree.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 3ce89af5e83a -r 88a29f85ce85 sys/ufs/ext2fs/ext2fs_htree.c
--- a/sys/ufs/ext2fs/ext2fs_htree.c     Tue Aug 23 03:21:16 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_htree.c     Tue Aug 23 06:23:26 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs_htree.c,v 1.8 2016/08/20 19:45:20 jdolecek Exp $        */
+/*     $NetBSD: ext2fs_htree.c,v 1.9 2016/08/23 06:23:26 christos Exp $        */
 
 /*-
  * Copyright (c) 2010, 2012 Zheng Liu <lz%freebsd.org@localhost>
@@ -29,7 +29,7 @@
  * $FreeBSD: head/sys/fs/ext2fs/ext2fs_htree.c 294653 2016-01-24 02:41:49Z pfg $
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_htree.c,v 1.8 2016/08/20 19:45:20 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_htree.c,v 1.9 2016/08/23 06:23:26 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -451,8 +451,6 @@
                bdwrite(bp);
        
        dp->i_flag |= IN_CHANGE | IN_UPDATE;
-       if (error)
-               goto out;
 
        /*
         * Write directory block 1.



Home | Main Index | Thread Index | Old Index