diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-05-26 18:25:34 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-05-26 18:25:34 +0000 |
| commit | 05c3592e13991b031ac8923f30d0cf2792280b28 (patch) | |
| tree | 3f3cd595cd0f70677e1a66f528ea88d2ee17bc09 /sys/dev/zs | |
| parent | af8d1678e17e6c29ca7ac8be722c13358a573d0a (diff) | |
Notes
Diffstat (limited to 'sys/dev/zs')
| -rw-r--r-- | sys/dev/zs/zs.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c index 11d4cca458199..199a26e5ff13f 100644 --- a/sys/dev/zs/zs.c +++ b/sys/dev/zs/zs.c @@ -129,7 +129,6 @@ static cn_probe_t zs_cnprobe; static cn_init_t zs_cninit; static cn_term_t zs_cnterm; static cn_getc_t zs_cngetc; -static cn_checkc_t zs_cncheckc; static cn_putc_t zs_cnputc; static int zstty_cngetc(struct zstty_softc *sc); @@ -155,8 +154,7 @@ static struct cdevsw zstty_cdevsw = { static struct zstty_softc *zstty_cons; -CONS_DRIVER(zs, zs_cnprobe, zs_cninit, zs_cnterm, zs_cngetc, zs_cncheckc, - zs_cnputc, NULL); +CONSOLE_DRIVER(zs); int zs_probe(device_t dev) @@ -835,16 +833,6 @@ zs_cngetc(struct consdev *cn) if (sc == NULL) return (-1); - return (zstty_cngetc(sc)); -} - -static int -zs_cncheckc(struct consdev *cn) -{ - struct zstty_softc *sc = zstty_cons; - - if (sc == NULL) - return (-1); return (zstty_cncheckc(sc)); } |
