Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb remove unused



details:   https://anonhg.NetBSD.org/src/rev/e5ab69e1dd36
branches:  trunk
changeset: 973033:e5ab69e1dd36
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Jun 16 17:25:56 2020 +0000

description:
remove unused

diffstat:

 sys/dev/usb/usbdi_util.c |  12 ++----------
 sys/dev/usb/usbdi_util.h |   3 +--
 2 files changed, 3 insertions(+), 12 deletions(-)

diffs (50 lines):

diff -r 2ccdec496b6c -r e5ab69e1dd36 sys/dev/usb/usbdi_util.c
--- a/sys/dev/usb/usbdi_util.c  Tue Jun 16 17:12:18 2020 +0000
+++ b/sys/dev/usb/usbdi_util.c  Tue Jun 16 17:25:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdi_util.c,v 1.83 2020/05/15 07:51:49 maxv Exp $     */
+/*     $NetBSD: usbdi_util.c,v 1.84 2020/06/16 17:25:56 maxv Exp $     */
 
 /*
  * Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi_util.c,v 1.83 2020/05/15 07:51:49 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi_util.c,v 1.84 2020/06/16 17:25:56 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -138,14 +138,6 @@
 }
 
 usbd_status
-usbd_get_bos_desc_full(struct usbd_device *dev, int conf, void *d, int size)
-{
-       USBHIST_FUNC(); USBHIST_CALLARGS(usbdebug, "conf=%jd", conf, 0, 0, 0);
-
-       return usbd_get_desc(dev, UDESC_BOS, conf, size, d);
-}
-
-usbd_status
 usbd_get_device_desc(struct usbd_device *dev, usb_device_descriptor_t *d)
 {
        USBHIST_FUNC(); USBHIST_CALLED(usbdebug);
diff -r 2ccdec496b6c -r e5ab69e1dd36 sys/dev/usb/usbdi_util.h
--- a/sys/dev/usb/usbdi_util.h  Tue Jun 16 17:12:18 2020 +0000
+++ b/sys/dev/usb/usbdi_util.h  Tue Jun 16 17:25:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdi_util.h,v 1.53 2020/02/16 09:40:35 maxv Exp $     */
+/*     $NetBSD: usbdi_util.h,v 1.54 2020/06/16 17:25:56 maxv Exp $     */
 
 /*
  * Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -42,7 +42,6 @@
                    int);
 usbd_status    usbd_get_bos_desc(struct usbd_device *, int,
                    usb_bos_descriptor_t *);
-usbd_status    usbd_get_bos_desc_full(struct usbd_device *, int, void *, int);
 usbd_status    usbd_get_device_desc(struct usbd_device *,
                    usb_device_descriptor_t *);
 usbd_status    usbd_get_initial_ddesc(struct usbd_device *,



Home | Main Index | Thread Index | Old Index