diff options
Diffstat (limited to 'sys/dev/usb/uvscom.c')
-rw-r--r-- | sys/dev/usb/uvscom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c index 071a7db5774..423e4e1f235 100644 --- a/sys/dev/usb/uvscom.c +++ b/sys/dev/usb/uvscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvscom.c,v 1.35 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: uvscom.c,v 1.36 2018/03/15 00:42:41 kevlo Exp $ */ /* $NetBSD: uvscom.c,v 1.9 2003/02/12 15:36:20 ichiro Exp $ */ /*- * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. @@ -130,7 +130,6 @@ struct uvscom_softc { struct device sc_dev; /* base device */ struct usbd_device *sc_udev; /* USB device */ struct usbd_interface *sc_iface; /* interface */ - int sc_iface_number;/* interface number */ struct usbd_interface *sc_intr_iface; /* interrupt interface */ int sc_intr_number; /* interrupt number */ @@ -269,7 +268,6 @@ uvscom_attach(struct device *parent, struct device *self, void *aux) } id = usbd_get_interface_descriptor(sc->sc_iface); - sc->sc_iface_number = id->bInterfaceNumber; /* Find endpoints */ for (i = 0; i < id->bNumEndpoints; i++) { |