Module Name: src
Committed By: martin
Date: Tue Jan 21 15:05:51 UTC 2020
Modified Files:
src/sys/dev/usb [netbsd-9]: ums.c
Log Message:
Fix misapplied patch in previous (ticket #616)
To generate a diff of this commit:
cvs rdiff -u -r1.93.2.1 -r1.93.2.2 src/sys/dev/usb/ums.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/ums.c
diff -u src/sys/dev/usb/ums.c:1.93.2.1 src/sys/dev/usb/ums.c:1.93.2.2
--- src/sys/dev/usb/ums.c:1.93.2.1 Tue Jan 21 10:39:59 2020
+++ src/sys/dev/usb/ums.c Tue Jan 21 15:05:51 2020
@@ -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 @@ struct ums_softc {
bool sc_alwayson;
- bool sc_alwayson;
-
- bool sc_alwayson;
-
int sc_enabled;
char sc_dying;
};
@@ -113,7 +109,7 @@ int
ums_match(device_t parent, cfdata_t match, void *aux)
{
struct uhidev_attach_arg *uha = aux;
- int size, error;
+ int size;
void *desc;
/*