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/sparc64 | |
parent | 107af1f28831acb7f690ef701f32804449f24dbc (diff) |
ditch unused zskbd_device_lookup; verified by sebastia@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/z8530kbd.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/sparc64/dev/z8530kbd.c b/sys/arch/sparc64/dev/z8530kbd.c index e9855447e4f..a37bbbe7ea0 100644 --- a/sys/arch/sparc64/dev/z8530kbd.c +++ b/sys/arch/sparc64/dev/z8530kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530kbd.c,v 1.25 2013/04/21 14:44:16 sebastia Exp $ */ +/* $OpenBSD: z8530kbd.c,v 1.26 2013/05/10 16:00:08 mikeb Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -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? */ |