Source-Changes-HG archive

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

[src/jmcneill-usbmp]: src/sys/dev/usb remove a bunch of superfluous parens.



details:   https://anonhg.NetBSD.org/src/rev/1b45f81f3bc4
branches:  jmcneill-usbmp
changeset: 771797:1b45f81f3bc4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Feb 20 04:05:44 2012 +0000

description:
remove a bunch of superfluous parens.

diffstat:

 sys/dev/usb/ehci.c |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (62 lines):

diff -r c5bec3fc5601 -r 1b45f81f3bc4 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Feb 20 03:27:07 2012 +0000
+++ b/sys/dev/usb/ehci.c        Mon Feb 20 04:05:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.181.6.7 2012/02/20 03:23:26 mrg Exp $ */
+/*     $NetBSD: ehci.c,v 1.181.6.8 2012/02/20 04:05:44 mrg Exp $ */
 
 /*
  * Copyright (c) 2004-2011 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.181.6.7 2012/02/20 03:23:26 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.181.6.8 2012/02/20 04:05:44 mrg Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -3479,8 +3479,8 @@
        /* Insert qTD in QH list. */
        ehci_set_qh_qtd(sqh, setup); /* also does usb_syncmem(sqh) */
        if (xfer->timeout && !sc->sc_bus.use_polling) {
-               callout_reset(&(xfer->timeout_handle), (mstohz(xfer->timeout)),
-                   (ehci_timeout), (xfer));
+               callout_reset(&xfer->timeout_handle, mstohz(xfer->timeout),
+                   ehci_timeout, xfer);
        }
        ehci_add_intr_list(sc, exfer);
        xfer->status = USBD_IN_PROGRESS;
@@ -3614,8 +3614,8 @@
        mutex_enter(&sc->sc_lock);
        ehci_set_qh_qtd(sqh, data); /* also does usb_syncmem(sqh) */
        if (xfer->timeout && !sc->sc_bus.use_polling) {
-               callout_reset(&(xfer->timeout_handle), (mstohz(xfer->timeout)),
-                   (ehci_timeout), (xfer));
+               callout_reset(&xfer->timeout_handle, mstohz(xfer->timeout),
+                   ehci_timeout, xfer);
        }
        ehci_add_intr_list(sc, exfer);
        xfer->status = USBD_IN_PROGRESS;
@@ -3798,8 +3798,8 @@
        mutex_enter(&sc->sc_lock);
        ehci_set_qh_qtd(sqh, data); /* also does usb_syncmem(sqh) */
        if (xfer->timeout && !sc->sc_bus.use_polling) {
-               callout_reset(&(xfer->timeout_handle), (mstohz(xfer->timeout)),
-                   (ehci_timeout), (xfer));
+               callout_reset(&xfer->timeout_handle, mstohz(xfer->timeout),
+                   ehci_timeout, xfer);
        }
        ehci_add_intr_list(sc, exfer);
        xfer->status = USBD_IN_PROGRESS;
@@ -3902,8 +3902,8 @@
 
                ehci_set_qh_qtd(sqh, data); /* also does usb_syncmem(sqh) */
                if (xfer->timeout && !sc->sc_bus.use_polling) {
-                       callout_reset(&(xfer->timeout_handle),
-                           (mstohz(xfer->timeout)), (ehci_timeout), (xfer));
+                       callout_reset(&xfer->timeout_handle,
+                           mstohz(xfer->timeout), ehci_timeout, xfer);
                }
 
                xfer->status = USBD_IN_PROGRESS;



Home | Main Index | Thread Index | Old Index