Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Use pointer passed as argument. This is not real...



details:   https://anonhg.NetBSD.org/src/rev/d3582924200b
branches:  trunk
changeset: 348025:d3582924200b
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Oct 01 11:07:30 2016 +0000

description:
Use pointer passed as argument. This is not really a change as
data->xfer is supposed to be the same.

diffstat:

 sys/dev/usb/if_run.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 052f2172ba04 -r d3582924200b sys/dev/usb/if_run.c
--- a/sys/dev/usb/if_run.c      Sat Oct 01 07:23:40 2016 +0000
+++ b/sys/dev/usb/if_run.c      Sat Oct 01 11:07:30 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_run.c,v 1.18 2016/10/01 07:23:40 mlelstv Exp $      */
+/*     $NetBSD: if_run.c,v 1.19 2016/10/01 11:07:30 mlelstv Exp $      */
 /*     $OpenBSD: if_run.c,v 1.90 2012/03/24 15:11:04 jsg Exp $ */
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.18 2016/10/01 07:23:40 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.19 2016/10/01 11:07:30 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/sockio.h>
@@ -2374,7 +2374,7 @@
 skip:  /* setup a new transfer */
        usbd_setup_xfer(xfer, data, data->buf, RUN_MAX_RXSZ,
            USBD_SHORT_XFER_OK, USBD_NO_TIMEOUT, run_rxeof);
-       (void)usbd_transfer(data->xfer);
+       (void)usbd_transfer(xfer);
 }
 
 static void



Home | Main Index | Thread Index | Old Index