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 stray return



details:   https://anonhg.NetBSD.org/src/rev/a1a99fb9ebed
branches:  trunk
changeset: 802597:a1a99fb9ebed
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 21 17:02:24 2014 +0000

description:
remove stray return

diffstat:

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

diffs (26 lines):

diff -r 32376e1c8381 -r a1a99fb9ebed sys/dev/usb/stuirda.c
--- a/sys/dev/usb/stuirda.c     Sun Sep 21 17:00:35 2014 +0000
+++ b/sys/dev/usb/stuirda.c     Sun Sep 21 17:02:24 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stuirda.c,v 1.15 2012/06/12 20:25:58 joerg Exp $       */
+/*     $NetBSD: stuirda.c,v 1.16 2014/09/21 17:02:24 christos Exp $    */
 
 /*
  * Copyright (c) 2001,2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: stuirda.c,v 1.15 2012/06/12 20:25:58 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: stuirda.c,v 1.16 2014/09/21 17:02:24 christos Exp $");
 
 #include <sys/param.h>
 
@@ -175,7 +175,6 @@
        if (rc) {
                printf("%s: Cannot load firmware\n",
                        device_xname(sc->sc_dev));
-               return 0;
                return rc;
        }
        fwsize = firmware_get_size(fh);



Home | Main Index | Thread Index | Old Index