diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-05-10 16:00:09 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-05-10 16:00:09 +0000 |
commit | 0933c10d8d1c516871ce21e95d3a596dd8af2f11 (patch) | |
tree | 468abee865d7f1cdb677c1f0c6cc8f6bdf487eb1 /sys/arch/sparc/dev | |
parent | 107af1f28831acb7f690ef701f32804449f24dbc (diff) |
ditch unused zskbd_device_lookup; verified by sebastia@
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/z8530kbd.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/sparc/dev/z8530kbd.c b/sys/arch/sparc/dev/z8530kbd.c index 0a9c36439c0..15dda7638c6 100644 --- a/sys/arch/sparc/dev/z8530kbd.c +++ b/sys/arch/sparc/dev/z8530kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530kbd.c,v 1.16 2013/04/21 14:44:16 sebastia Exp $ */ +/* $OpenBSD: z8530kbd.c,v 1.17 2013/05/10 16:00:08 mikeb Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -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? */ |