Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/dwc2 Whitespace.



details:   https://anonhg.NetBSD.org/src/rev/f063b09a3f01
branches:  trunk
changeset: 810109:f063b09a3f01
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 18 12:01:16 2015 +0000

description:
Whitespace.

diffstat:

 sys/external/bsd/dwc2/dwc2.c |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (67 lines):

diff -r 5a23dd512444 -r f063b09a3f01 sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c      Tue Aug 18 10:48:01 2015 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c      Tue Aug 18 12:01:16 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $       */
+/*     $NetBSD: dwc2.c,v 1.33 2015/08/18 12:01:16 skrll Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.33 2015/08/18 12:01:16 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -240,15 +240,15 @@
 Static void
 dwc2_freem(struct usbd_bus *bus, usb_dma_t *dma)
 {
-        struct dwc2_softc *sc = DWC2_BUS2SC(bus);
+       struct dwc2_softc *sc = DWC2_BUS2SC(bus);
 
        DPRINTFN(10, "\n");
 
-        if (dma->block->flags & USB_DMA_RESERVE) {
-                usb_reserve_freem(&sc->sc_dma_reserve, dma);
-                return;
-        }
-        usb_freemem(&sc->sc_bus, dma);
+       if (dma->block->flags & USB_DMA_RESERVE) {
+               usb_reserve_freem(&sc->sc_dma_reserve, dma);
+               return;
+       }
+       usb_freemem(&sc->sc_bus, dma);
 }
 
 usbd_xfer_handle
@@ -343,7 +343,7 @@
        mutex_spin_enter(&hsotg->lock);
        while ((dxfer = TAILQ_FIRST(&sc->sc_complete)) != NULL) {
 
-               KASSERTMSG(!callout_pending(&dxfer->xfer.timeout_handle), 
+               KASSERTMSG(!callout_pending(&dxfer->xfer.timeout_handle),
                    "xfer %p pipe %p\n", dxfer, dxfer->xfer.pipe);
 
                /*
@@ -1228,7 +1228,7 @@
        struct dwc2_pipe *dpipe = DWC2_XFER2DPIPE(xfer);
        struct dwc2_softc *sc = DWC2_XFER2SC(xfer);
        struct dwc2_hsotg *hsotg = sc->sc_hsotg;
-        struct dwc2_hcd_urb *dwc2_urb;
+       struct dwc2_hcd_urb *dwc2_urb;
 
        usbd_device_handle dev = xfer->pipe->device;
        usb_endpoint_descriptor_t *ed = xfer->pipe->endpoint->edesc;
@@ -1672,7 +1672,7 @@
  * Must be called with interrupt disabled and spinlock held
  */
 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
-                        int status)
+    int status)
 {
        usbd_xfer_handle xfer;
        struct dwc2_xfer *dxfer;



Home | Main Index | Thread Index | Old Index