Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Remove an always true if-clause.
details: https://anonhg.NetBSD.org/src/rev/09f35594fff5
branches: trunk
changeset: 760121:09f35594fff5
user: hannken <hannken%NetBSD.org@localhost>
date: Mon Dec 27 18:41:07 2010 +0000
description:
Remove an always true if-clause.
diffstat:
sys/dev/fss.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 04f777aa15ad -r 09f35594fff5 sys/dev/fss.c
--- a/sys/dev/fss.c Mon Dec 27 18:22:30 2010 +0000
+++ b/sys/dev/fss.c Mon Dec 27 18:41:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fss.c,v 1.71 2010/11/19 06:44:39 dholland Exp $ */
+/* $NetBSD: fss.c,v 1.72 2010/12/27 18:41:07 hannken Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.71 2010/11/19 06:44:39 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.72 2010/12/27 18:41:07 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -796,9 +796,7 @@
microtime(&sc->sc_time);
- if (error == 0)
- error = fscow_establish(sc->sc_mount,
- fss_copy_on_write, sc);
+ error = fscow_establish(sc->sc_mount, fss_copy_on_write, sc);
if (error == 0)
sc->sc_flags |= FSS_ACTIVE;
Home |
Main Index |
Thread Index |
Old Index