Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/dev/usb Fix misapplied patch in previous (ticket #616)



details:   https://anonhg.NetBSD.org/src/rev/7056cbdfeba1
branches:  netbsd-9
changeset: 843769:7056cbdfeba1
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 21 15:05:51 2020 +0000

description:
Fix misapplied patch in previous (ticket #616)

diffstat:

 sys/dev/usb/ums.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r a1dc08a65f60 -r 7056cbdfeba1 sys/dev/usb/ums.c
--- a/sys/dev/usb/ums.c Tue Jan 21 11:55:57 2020 +0000
+++ b/sys/dev/usb/ums.c Tue Jan 21 15:05:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ums.c,v 1.93.2.1 2020/01/21 10:39:59 martin Exp $      */
+/*     $NetBSD: ums.c,v 1.93.2.2 2020/01/21 15:05:51 martin Exp $      */
 
 /*
  * Copyright (c) 1998, 2017 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ums.c,v 1.93.2.1 2020/01/21 10:39:59 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ums.c,v 1.93.2.2 2020/01/21 15:05:51 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -80,10 +80,6 @@
 
        bool    sc_alwayson;
 
-       bool    sc_alwayson;
-
-       bool    sc_alwayson;
-
        int     sc_enabled;
        char    sc_dying;
 };
@@ -113,7 +109,7 @@
 ums_match(device_t parent, cfdata_t match, void *aux)
 {
        struct uhidev_attach_arg *uha = aux;
-       int size, error;
+       int size;
        void *desc;
 
        /*



Home | Main Index | Thread Index | Old Index