Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/efs PR/50883: David Binderman: Remove redundant code.



details:   https://anonhg.NetBSD.org/src/rev/b973c8b0e385
branches:  trunk
changeset: 343914:b973c8b0e385
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 02 19:27:05 2016 +0000

description:
PR/50883: David Binderman: Remove redundant code.

diffstat:

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

diffs (27 lines):

diff -r 158158dfd1f9 -r b973c8b0e385 sys/fs/efs/efs_vnops.c
--- a/sys/fs/efs/efs_vnops.c    Wed Mar 02 19:26:15 2016 +0000
+++ b/sys/fs/efs/efs_vnops.c    Wed Mar 02 19:27:05 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efs_vnops.c,v 1.33 2014/08/07 08:24:23 hannken Exp $   */
+/*     $NetBSD: efs_vnops.c,v 1.34 2016/03/02 19:27:05 christos Exp $  */
 
 /*
  * Copyright (c) 2006 Stephen M. Rumble <rumble%ephemeral.org@localhost>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efs_vnops.c,v 1.33 2014/08/07 08:24:23 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efs_vnops.c,v 1.34 2016/03/02 19:27:05 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -622,7 +622,7 @@
                }
        }
 
-       KASSERT(!found || (found && ret == 0));
+       KASSERT(!found || ret == 0);
 
        if (!found) {
                EFS_DPRINTF(("efs_bmap: ap->a_bn not in extents\n"));



Home | Main Index | Thread Index | Old Index