Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Remove return statement which can't be reached.



details:   https://anonhg.NetBSD.org/src/rev/417a4a931b1b
branches:  trunk
changeset: 768613:417a4a931b1b
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Aug 22 22:12:34 2011 +0000

description:
Remove return statement which can't be reached.

diffstat:

 sys/kern/vfs_syscalls.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 8e9eb9ba41fd -r 417a4a931b1b sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Mon Aug 22 22:09:07 2011 +0000
+++ b/sys/kern/vfs_syscalls.c   Mon Aug 22 22:12:34 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.438 2011/08/22 22:09:07 enami Exp $ */
+/*     $NetBSD: vfs_syscalls.c,v 1.439 2011/08/22 22:12:34 enami Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.438 2011/08/22 22:09:07 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.439 2011/08/22 22:12:34 enami Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -3092,8 +3092,6 @@
 
        return do_sys_utimens(l, NULL, SCARG(uap, path), follow,
            tptr, UIO_USERSPACE);
-
-       return ENOSYS;
 }
 
 /*



Home | Main Index | Thread Index | Old Index