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/b1a808d37141
branches:  trunk
changeset: 448875:b1a808d37141
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 e62b9173876a -r b1a808d37141 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