Module Name:    src
Committed By:   hannken
Date:           Mon Dec 27 18:41:07 UTC 2010

Modified Files:
        src/sys/dev: fss.c

Log Message:
Remove an always true if-clause.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/fss.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/fss.c
diff -u src/sys/dev/fss.c:1.71 src/sys/dev/fss.c:1.72
--- src/sys/dev/fss.c:1.71	Fri Nov 19 06:44:39 2010
+++ src/sys/dev/fss.c	Mon Dec 27 18:41:07 2010
@@ -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;
 

Reply via email to