Hi, I'll commit it then, if there are no objections.
On Sat, May 04, 2013 at 14:09 +0200, Sebastian Reitenbach wrote: > > On Friday, May 3, 2013 17:16 CEST, Mike Belopuhov <[email protected]> wrote: > > > hi, > > > > as far as i can tell these functions are not used anymore. > > my sparcbook 3gx seems to be happy with it. > > Sebastian > > > > > ok? > > > > diff --git sys/arch/sparc/dev/z8530kbd.c sys/arch/sparc/dev/z8530kbd.c > > index 0a9c364..c746e56 100644 > > --- sys/arch/sparc/dev/z8530kbd.c > > +++ sys/arch/sparc/dev/z8530kbd.c > > @@ -213,8 +213,6 @@ static void zs_modem(struct zskbd_softc *, int); > > static void zs_hwiflow(struct zskbd_softc *); > > static void zs_maskintr(struct zskbd_softc *); > > > > -struct zskbd_softc *zskbd_device_lookup(struct cfdriver *, int); > > - > > /* Low-level routines. */ > > static void zskbd_rxint(struct zs_chanstate *); > > static void zskbd_stint(struct zs_chanstate *, int); > > @@ -240,14 +238,6 @@ struct wskbd_consops zskbd_consops = { > > > > #define ZSKBDUNIT(x) (minor(x) & 0x7ffff) > > > > -struct zskbd_softc * > > -zskbd_device_lookup(cf, unit) > > - struct cfdriver *cf; > > - int unit; > > -{ > > - return (struct zskbd_softc *)device_lookup(cf, unit); > > -} > > - > > /* > > * zskbd_match: how is this zs channel configured? > > */ > > diff --git sys/arch/sparc64/dev/z8530kbd.c sys/arch/sparc64/dev/z8530kbd.c > > index e985544..1359964 100644 > > --- sys/arch/sparc64/dev/z8530kbd.c > > +++ sys/arch/sparc64/dev/z8530kbd.c > > @@ -212,8 +212,6 @@ static void zs_modem(struct zskbd_softc *, int); > > static void zs_hwiflow(struct zskbd_softc *); > > static void zs_maskintr(struct zskbd_softc *); > > > > -struct zskbd_softc *zskbd_device_lookup(struct cfdriver *, int); > > - > > /* Low-level routines. */ > > static void zskbd_rxint(struct zs_chanstate *); > > static void zskbd_stint(struct zs_chanstate *, int); > > @@ -239,14 +237,6 @@ struct wskbd_consops zskbd_consops = { > > > > #define ZSKBDUNIT(x) (minor(x) & 0x7ffff) > > > > -struct zskbd_softc * > > -zskbd_device_lookup(cf, unit) > > - struct cfdriver *cf; > > - int unit; > > -{ > > - return (struct zskbd_softc *)device_lookup(cf, unit); > > -} > > - > > /* > > * zskbd_match: how is this zs channel configured? > > */ > > > > > > >
