Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb fix non-DIAGNOSTIC build



details:   https://anonhg.NetBSD.org/src/rev/b3b79133d84a
branches:  trunk
changeset: 788974:b3b79133d84a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Aug 01 10:47:51 2013 +0000

description:
fix non-DIAGNOSTIC build

diffstat:

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

diffs (35 lines):

diff -r c68208b25095 -r b3b79133d84a sys/dev/usb/dwc_otg.c
--- a/sys/dev/usb/dwc_otg.c     Thu Aug 01 10:45:21 2013 +0000
+++ b/sys/dev/usb/dwc_otg.c     Thu Aug 01 10:47:51 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dwc_otg.c,v 1.49 2013/04/08 21:12:33 skrll Exp $       */
+/*     $NetBSD: dwc_otg.c,v 1.50 2013/08/01 10:47:51 jmcneill Exp $    */
 
 /*-
  * Copyright (c) 2012 Hans Petter Selasky. All rights reserved.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.49 2013/04/08 21:12:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.50 2013/08/01 10:47:51 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -605,6 +605,7 @@
        struct dwc_otg_softc *sc = DWC_OTG_DPIPE2SC(dpipe);
 
        dpipe = dpipe;
+       sc = sc;
 
        KASSERT(mutex_owned(&sc->sc_lock));
 }
@@ -1343,6 +1344,8 @@
 {
        struct dwc_otg_softc *sc = DWC_OTG_XFER2SC(xfer);
 
+       sc = sc;
+
        DPRINTF("xfer=%p\n", xfer);
        KASSERT(mutex_owned(&sc->sc_lock));
 



Home | Main Index | Thread Index | Old Index