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 "break" after ...



details:   https://anonhg.NetBSD.org/src/rev/7ac5d039f121
branches:  trunk
changeset: 526874:7ac5d039f121
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon May 13 05:31:42 2002 +0000

description:
Remove an unreachable "break" after a return statement.

diffstat:

 sys/compat/linux/common/linux_file.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 4b9310815f5d -r 7ac5d039f121 sys/compat/linux/common/linux_file.c
--- a/sys/compat/linux/common/linux_file.c      Mon May 13 05:13:23 2002 +0000
+++ b/sys/compat/linux/common/linux_file.c      Mon May 13 05:31:42 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_file.c,v 1.51 2002/04/10 18:19:34 christos Exp $ */
+/*     $NetBSD: linux_file.c,v 1.52 2002/05/13 05:31:42 simonb Exp $   */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.51 2002/04/10 18:19:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.52 2002/05/13 05:31:42 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -392,7 +392,6 @@
                        return error;
                bsd_to_linux_flock(&bfl, &lfl);
                return copyout(&lfl, arg, sizeof lfl);
-               break;
 
        case LINUX_F_SETLK:
        case LINUX_F_SETLKW:



Home | Main Index | Thread Index | Old Index