Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Remove 'return' right after 'goto'



details:   https://anonhg.NetBSD.org/src/rev/229c852376f4
branches:  trunk
changeset: 785598:229c852376f4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Mar 22 12:47:56 2013 +0000

description:
Remove 'return' right after 'goto'

diffstat:

 sys/dev/usb/ohci.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 15e419b4fa0f -r 229c852376f4 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Fri Mar 22 12:31:25 2013 +0000
+++ b/sys/dev/usb/ohci.c        Fri Mar 22 12:47:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.232 2013/01/29 00:00:15 christos Exp $      */
+/*     $NetBSD: ohci.c,v 1.233 2013/03/22 12:47:56 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.232 2013/01/29 00:00:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.233 2013/03/22 12:47:56 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2323,7 +2323,6 @@
                while (xfer->hcflags & UXFER_ABORTING)
                        cv_wait(&xfer->hccv, &sc->sc_lock);
                goto done;
-               return;
        }
        xfer->hcflags |= UXFER_ABORTING;
 



Home | Main Index | Thread Index | Old Index