Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Remove an unreachable "return error; ".



details:   https://anonhg.NetBSD.org/src/rev/5ecca641f65f
branches:  trunk
changeset: 526876:5ecca641f65f
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon May 13 05:37:58 2002 +0000

description:
Remove an unreachable "return error;".

diffstat:

 sys/compat/linux/common/linux_file64.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 290790891bdf -r 5ecca641f65f sys/compat/linux/common/linux_file64.c
--- a/sys/compat/linux/common/linux_file64.c    Mon May 13 05:35:47 2002 +0000
+++ b/sys/compat/linux/common/linux_file64.c    Mon May 13 05:37:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_file64.c,v 1.13 2002/05/12 15:04:27 jdolecek Exp $       */
+/*     $NetBSD: linux_file64.c,v 1.14 2002/05/13 05:37:58 simonb Exp $ */
 
 /*-
  * Copyright (c) 1995, 1998, 2000 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_file64.c,v 1.13 2002/05/12 15:04:27 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_file64.c,v 1.14 2002/05/13 05:37:58 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -334,8 +334,6 @@
        default:
                return linux_sys_fcntl(p, v, retval);
        }
-
-       return error;
 }
 #endif /* !m68k */
 



Home | Main Index | Thread Index | Old Index