Source-Changes-D archive

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

Re: CVS commit: src/sys/kern



In article <20161117080649.DC7DFFBAE%cvs.NetBSD.org@localhost>,
Paul Goyette <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>Module Name:	src
>Committed By:	pgoyette
>Date:		Thu Nov 17 08:06:49 UTC 2016
>
>Modified Files:
>	src/sys/kern: subr_bufq.c
>
>Log Message:
>Use compile-time initialization for the list head, and make sure that
>the sysctllog is also initialized before being used.

-static struct sysctllog *sysctllog;
+static struct sysctllog *sysctllog = NULL;

That's unnecessary.

christos



Home | Main Index | Thread Index | Old Index