diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-01-07 09:54:19 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-01-07 09:54:19 +0000 |
commit | 9ca98ceeeef895e48d1bea64a705c78f3e14c6ab (patch) | |
tree | 37f76487aa33943e2101e012ead08f372ae980e5 /sys | |
parent | 81efe834cf758f929a014bc4554daee0d33a80c5 (diff) |
Remove unused fields.
ok sasano@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_ugl.c | 6 | ||||
-rw-r--r-- | sys/dev/usb/if_upl.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/usb/if_ugl.c b/sys/dev/usb/if_ugl.c index 4cc893941f1..fb929cda59d 100644 --- a/sys/dev/usb/if_ugl.c +++ b/sys/dev/usb/if_ugl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ugl.c,v 1.4 2013/12/11 01:12:01 brad Exp $ */ +/* $OpenBSD: if_ugl.c,v 1.5 2014/01/07 09:54:18 mpi Exp $ */ /* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 2013 SASANO Takayoshi <uaa@uaa.org.uk> @@ -144,8 +144,6 @@ struct ugl_softc { struct usbd_device *sc_udev; struct usbd_interface *sc_iface; - u_int16_t sc_vendor; - u_int16_t sc_product; int sc_ed[UGL_ENDPT_MAX]; struct usbd_pipe *sc_ep[UGL_ENDPT_MAX]; struct ugl_cdata sc_cdata; @@ -246,8 +244,6 @@ ugl_attach(struct device *parent, struct device *self, void *aux) } sc->sc_udev = dev; - sc->sc_product = uaa->product; - sc->sc_vendor = uaa->vendor; err = usbd_device2interface_handle(dev, UGL_IFACE_IDX, &iface); if (err) { diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c index 916144a1512..8ecbcd8cedc 100644 --- a/sys/dev/usb/if_upl.c +++ b/sys/dev/usb/if_upl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upl.c,v 1.55 2013/11/15 10:17:39 pirofti Exp $ */ +/* $OpenBSD: if_upl.c,v 1.56 2014/01/07 09:54:18 mpi Exp $ */ /* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -130,8 +130,6 @@ struct upl_softc { struct usbd_device *sc_udev; struct usbd_interface *sc_iface; - u_int16_t sc_vendor; - u_int16_t sc_product; int sc_ed[UPL_ENDPT_MAX]; struct usbd_pipe *sc_ep[UPL_ENDPT_MAX]; struct upl_cdata sc_cdata; @@ -233,8 +231,6 @@ upl_attach(struct device *parent, struct device *self, void *aux) } sc->sc_udev = dev; - sc->sc_product = uaa->product; - sc->sc_vendor = uaa->vendor; err = usbd_device2interface_handle(dev, UPL_IFACE_IDX, &iface); if (err) { |