"oatv" in adjtime1() isn't used after being set; remove it.
This commit is contained in:
parent
08933e5968
commit
b460a1801e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_time.c,v 1.61 2002/01/31 00:13:08 simonb Exp $ */
|
||||
/* $NetBSD: kern_time.c,v 1.62 2002/10/22 03:23:24 simonb Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.61 2002/01/31 00:13:08 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.62 2002/10/22 03:23:24 simonb Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
@ -449,7 +449,6 @@ adjtime1(delta, olddelta, p)
|
||||
struct proc *p;
|
||||
{
|
||||
struct timeval atv;
|
||||
struct timeval *oatv = NULL;
|
||||
long ndelta, ntickdelta, odelta;
|
||||
int error;
|
||||
int s;
|
||||
@ -462,7 +461,6 @@ adjtime1(delta, olddelta, p)
|
||||
if (uvm_useracc((caddr_t)olddelta,
|
||||
sizeof(struct timeval), B_WRITE) == FALSE)
|
||||
return (EFAULT);
|
||||
oatv = olddelta;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user