Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern "oatv" in adjtime1() isn't used after being set; re...
details: https://anonhg.NetBSD.org/src/rev/bc296aceaeb1
branches: trunk
changeset: 538522:bc296aceaeb1
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Oct 22 03:23:24 2002 +0000
description:
"oatv" in adjtime1() isn't used after being set; remove it.
diffstat:
sys/kern/kern_time.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 0b4f082ed86d -r bc296aceaeb1 sys/kern/kern_time.c
--- a/sys/kern/kern_time.c Tue Oct 22 03:15:28 2002 +0000
+++ b/sys/kern/kern_time.c Tue Oct 22 03:23:24 2002 +0000
@@ -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 @@
struct proc *p;
{
struct timeval atv;
- struct timeval *oatv = NULL;
long ndelta, ntickdelta, odelta;
int error;
int s;
@@ -462,7 +461,6 @@
if (uvm_useracc((caddr_t)olddelta,
sizeof(struct timeval), B_WRITE) == FALSE)
return (EFAULT);
- oatv = olddelta;
}
/*
Home |
Main Index |
Thread Index |
Old Index