mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
remove orphaned sysctl_machdep_adjkerntz()
This commit is contained in:
parent
94d67e0fb8
commit
8e52f5465d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162961
@ -97,17 +97,6 @@ static struct timecounter decr_timecounter = {
|
||||
"decrementer" /* name */
|
||||
};
|
||||
|
||||
static int
|
||||
sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
int error;
|
||||
|
||||
error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
|
||||
if (!error && req->newptr)
|
||||
resettodr();
|
||||
return (error);
|
||||
}
|
||||
|
||||
void
|
||||
inittodr(time_t base)
|
||||
{
|
||||
|
@ -97,17 +97,6 @@ static struct timecounter decr_timecounter = {
|
||||
"decrementer" /* name */
|
||||
};
|
||||
|
||||
static int
|
||||
sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
int error;
|
||||
|
||||
error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
|
||||
if (!error && req->newptr)
|
||||
resettodr();
|
||||
return (error);
|
||||
}
|
||||
|
||||
void
|
||||
inittodr(time_t base)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user