Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb g/c unused function.



details:   https://anonhg.NetBSD.org/src/rev/67a4e395e7d5
branches:  trunk
changeset: 537719:67a4e395e7d5
user:      gehenna <gehenna%NetBSD.org@localhost>
date:      Sat Oct 05 01:11:47 2002 +0000

description:
g/c unused function.

diffstat:

 sys/dev/usb/umass_quirks.c |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (35 lines):

diff -r c8601f93d15b -r 67a4e395e7d5 sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Sat Oct 05 00:34:35 2002 +0000
+++ b/sys/dev/usb/umass_quirks.c        Sat Oct 05 01:11:47 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.23 2002/10/04 08:31:57 gehenna Exp $        */
+/*     $NetBSD: umass_quirks.c,v 1.24 2002/10/05 01:11:47 gehenna Exp $        */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -54,7 +54,6 @@
 Static usbd_status umass_init_insystem(struct umass_softc *);
 Static usbd_status umass_init_shuttle(struct umass_softc *);
 
-Static void umass_fixup_sony(struct umass_softc *);
 Static void umass_fixup_yedata(struct umass_softc *);
 
 Static const struct umass_quirk umass_quirks[] = {
@@ -331,17 +330,6 @@
 }
 
 Static void
-umass_fixup_sony(struct umass_softc *sc)
-{
-       usb_interface_descriptor_t *id;
-
-       id = usbd_get_interface_descriptor(sc->sc_iface);
-       if (id->bInterfaceSubClass == 0xff) {
-               sc->sc_cmd = UMASS_CPROTO_RBC;
-       }
-}
-
-Static void
 umass_fixup_yedata(struct umass_softc *sc)
 {
        usb_device_descriptor_t *dd;



Home | Main Index | Thread Index | Old Index