Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Whitespace / Update a comment



details:   https://anonhg.NetBSD.org/src/rev/fd05112a5d3a
branches:  nick-nhusb
changeset: 334449:fd05112a5d3a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Mar 23 22:18:30 2016 +0000

description:
Whitespace / Update a comment

diffstat:

 sys/dev/usb/uaudio.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r ce8c581ae651 -r fd05112a5d3a sys/dev/usb/uaudio.c
--- a/sys/dev/usb/uaudio.c      Wed Mar 23 22:12:03 2016 +0000
+++ b/sys/dev/usb/uaudio.c      Wed Mar 23 22:18:30 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uaudio.c,v 1.140.2.15 2016/03/23 22:11:20 skrll Exp $  */
+/*     $NetBSD: uaudio.c,v 1.140.2.16 2016/03/23 22:18:30 skrll Exp $  */
 
 /*
  * Copyright (c) 1999, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.140.2.15 2016/03/23 22:11:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.140.2.16 2016/03/23 22:18:30 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -2668,7 +2668,8 @@
        ch->intr = intr;
        ch->arg = arg;
 
-       for (i = 0; i < UAUDIO_NCHANBUFS-1; i++) /* XXX */
+       /* XXX -1 shouldn't be needed */
+       for (i = 0; i < UAUDIO_NCHANBUFS - 1; i++)
                uaudio_chan_ptransfer(ch);
        mutex_enter(&sc->sc_intr_lock);
 



Home | Main Index | Thread Index | Old Index