Module Name:    src
Committed By:   christos
Date:           Fri Jun 28 15:34:22 UTC 2013

Modified Files:
        src/sys/kern: vfs_bio.c

Log Message:
remove useless initialization
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 src/sys/kern/vfs_bio.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/kern/vfs_bio.c
diff -u src/sys/kern/vfs_bio.c:1.244 src/sys/kern/vfs_bio.c:1.245
--- src/sys/kern/vfs_bio.c:1.244	Sun May 19 07:02:12 2013
+++ src/sys/kern/vfs_bio.c	Fri Jun 28 11:34:21 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_bio.c,v 1.244 2013/05/19 11:02:12 njoly Exp $	*/
+/*	$NetBSD: vfs_bio.c,v 1.245 2013/06/28 15:34:21 christos Exp $	*/
 
 /*-
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.244 2013/05/19 11:02:12 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.245 2013/06/28 15:34:21 christos Exp $");
 
 #include "opt_bufcache.h"
 
@@ -1436,7 +1436,7 @@ static int
 buf_trim(void)
 {
 	buf_t *bp;
-	long size = 0;
+	long size;
 
 	KASSERT(mutex_owned(&bufcache_lock));
 

Reply via email to