Source-Changes-HG archive

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

[src/trunk]: src/sys/kern By popular request, don't bother initializing a sta...



details:   https://anonhg.NetBSD.org/src/rev/557aa3440c91
branches:  trunk
changeset: 348960:557aa3440c91
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Nov 18 02:37:33 2016 +0000

description:
By popular request, don't bother initializing a static pointer to NULL.

diffstat:

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

diffs (27 lines):

diff -r 343e6e3aefca -r 557aa3440c91 sys/kern/subr_bufq.c
--- a/sys/kern/subr_bufq.c      Thu Nov 17 23:46:52 2016 +0000
+++ b/sys/kern/subr_bufq.c      Fri Nov 18 02:37:33 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_bufq.c,v 1.24 2016/11/17 08:06:49 pgoyette Exp $  */
+/*     $NetBSD: subr_bufq.c,v 1.25 2016/11/18 02:37:33 pgoyette Exp $  */
 /*     NetBSD: subr_disk.c,v 1.70 2005/08/20 12:00:01 yamt Exp $       */
 
 /*-
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_bufq.c,v 1.24 2016/11/17 08:06:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_bufq.c,v 1.25 2016/11/18 02:37:33 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -87,7 +87,7 @@
 
 static kmutex_t bufq_mutex;
 
-static struct sysctllog *sysctllog = NULL;
+static struct sysctllog *sysctllog;
 
 void
 bufq_init(void)



Home | Main Index | Thread Index | Old Index