Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Do not set p->up_serialise twice in usbd_setup_p...
details: https://anonhg.NetBSD.org/src/rev/39c2ff9c952d
branches: trunk
changeset: 996892:39c2ff9c952d
user: rin <rin%NetBSD.org@localhost>
date: Tue Feb 12 14:17:44 2019 +0000
description:
Do not set p->up_serialise twice in usbd_setup_pipe_flags().
No functional changes.
diffstat:
sys/dev/usb/usb_subr.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f011afa2a9f1 -r 39c2ff9c952d sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Tue Feb 12 13:49:13 2019 +0000
+++ b/sys/dev/usb/usb_subr.c Tue Feb 12 14:17:44 2019 +0000
@@ -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 @@
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) {
Home |
Main Index |
Thread Index |
Old Index