Module Name: src
Committed By: mlelstv
Date: Sat Oct 1 11:07:30 UTC 2016
Modified Files:
src/sys/dev/usb: if_run.c
Log Message:
Use pointer passed as argument. This is not really a change as
data->xfer is supposed to be the same.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/if_run.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/if_run.c
diff -u src/sys/dev/usb/if_run.c:1.18 src/sys/dev/usb/if_run.c:1.19
--- src/sys/dev/usb/if_run.c:1.18 Sat Oct 1 07:23:40 2016
+++ src/sys/dev/usb/if_run.c Sat Oct 1 11:07:30 2016
@@ -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 @@ run_rxeof(struct usbd_xfer *xfer, void *
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