CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2021/01/13 09:28:50

Modified files:
        lib/libc/sys   : sysctl.2 
        sbin/sysctl    : sysctl.c 
        sys/arch/mips64/mips64: mips64_machdep.c 
        sys/kern       : kern_clock.c 
        sys/conf       : param.c 
        sys/sys        : time.h kernel.h 

Log message:
kernel, sysctl(8): remove dead variable: tickadj

The global "tickadj" variable is a remnant of the old NTP adjustment
code we used in the kernel before the current timecounter subsystem
was imported from FreeBSD circa 2004 or 2005.

Fifteen years hence it is completely vestigial and we can remove it.
We probably should have removed it long ago but I guess it slipped
through the cracks.  FreeBSD removed it in 2002:

https://cgit.freebsd.org/src/commit/?id=e1d970f1811e5e1e9c912c032acdcec6521b2a6d

NetBSD and DragonflyBSD can probably remove it, too.

We export tickadj via the kern.clockrate sysctl(2), so update sysctl.2
and sysctl(8) accordingly.  Hypothetically this change could break
someone's sysctl(8) parsing script.  I don't think that's very likely.

ok mvs@

Reply via email to