Re: ntp_init() looks like a nop

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 07 Feb 2022 20:32:30 UTC
--------
Sebastian Huber writes:

> The ntp_init() function sets a couple of global variables to zero. These=20
> variables should be in the .bss section. Are they not already cleared=20
> during the kernel loading?

They are, but I kept the code to minimize the diff relative to Dave Mills
original version of the code.

It can go no.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.