Source-Changes-HG archive

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

[src/trunk]: src/sys/kern remove useless initialization



details:   https://anonhg.NetBSD.org/src/rev/d8e1fd0fd4a3
branches:  trunk
changeset: 787696:d8e1fd0fd4a3
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 28 15:34:21 2013 +0000

description:
remove useless initialization
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html

diffstat:

 sys/kern/vfs_bio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 12893f054ef7 -r d8e1fd0fd4a3 sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c        Fri Jun 28 15:33:40 2013 +0000
+++ b/sys/kern/vfs_bio.c        Fri Jun 28 15:34:21 2013 +0000
@@ -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 @@
 buf_trim(void)
 {
        buf_t *bp;
-       long size = 0;
+       long size;
 
        KASSERT(mutex_owned(&bufcache_lock));
 



Home | Main Index | Thread Index | Old Index