Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern CID/1325753: remove extra return.
details: https://anonhg.NetBSD.org/src/rev/638e5ee14ba0
branches: trunk
changeset: 340855:638e5ee14ba0
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 06 15:03:34 2015 +0000
description:
CID/1325753: remove extra return.
diffstat:
sys/kern/kern_time.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 0d19d7e302d9 -r 638e5ee14ba0 sys/kern/kern_time.c
--- a/sys/kern/kern_time.c Tue Oct 06 14:32:51 2015 +0000
+++ b/sys/kern/kern_time.c Tue Oct 06 15:03:34 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_time.c,v 1.181 2015/10/02 19:47:08 christos Exp $ */
+/* $NetBSD: kern_time.c,v 1.182 2015/10/06 15:03:34 christos Exp $ */
/*-
* Copyright (c) 2000, 2004, 2005, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.181 2015/10/02 19:47:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.182 2015/10/06 15:03:34 christos Exp $");
#include <sys/param.h>
#include <sys/resourcevar.h>
@@ -316,7 +316,6 @@
SCARG(uap, rmtp) ? &rmt : NULL);
if (SCARG(uap, rmtp) == NULL || (error != 0 && error != EINTR))
goto out;
- return error;
if ((error1 = copyout(&rmt, SCARG(uap, rmtp), sizeof(rmt))) != 0)
error = error1;
Home |
Main Index |
Thread Index |
Old Index