Module Name: src
Committed By: rin
Date: Tue Feb 12 14:17:45 UTC 2019
Modified Files:
src/sys/dev/usb: usb_subr.c
Log Message:
Do not set p->up_serialise twice in usbd_setup_pipe_flags().
No functional changes.
To generate a diff of this commit:
cvs rdiff -u -r1.229 -r1.230 src/sys/dev/usb/usb_subr.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/usb_subr.c
diff -u src/sys/dev/usb/usb_subr.c:1.229 src/sys/dev/usb/usb_subr.c:1.230
--- src/sys/dev/usb/usb_subr.c:1.229 Sun Jan 27 02:08:42 2019
+++ src/sys/dev/usb/usb_subr.c Tue Feb 12 14:17:44 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_subr.c,v 1.229 2019/01/27 02:08:42 pgoyette Exp $ */
+/* $NetBSD: usb_subr.c,v 1.230 2019/02/12 14:17:44 rin Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.229 2019/01/27 02:08:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.230 2019/02/12 14:17:44 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -794,7 +794,6 @@ usbd_setup_pipe_flags(struct usbd_device
p->up_repeat = 0;
p->up_interval = ival;
p->up_flags = flags;
- p->up_serialise = true;
SIMPLEQ_INIT(&p->up_queue);
err = dev->ud_bus->ub_methods->ubm_open(p);
if (err) {