From: mpi Date: Tue, 7 Jan 2014 09:54:18 +0000 (+0000) Subject: Remove unused fields. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f204858ff403586e0972f87d8ead450601dea6d2;p=openbsd Remove unused fields. ok sasano@ --- 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 @@ -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) {