diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-02 18:01:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-02 18:01:16 +0000 |
commit | ed4e5f9f1ef8a718709fcaabd3ca869465bb2b03 (patch) | |
tree | cdcaa3dacc072a59197eb1862ec6291d47250e0a /sys/arch/mvme68k | |
parent | 70100c740fc1c882ebd7845fad4149759daa87f4 (diff) |
Remove unused code, per mvme88k.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/dev/cl.c | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/sys/arch/mvme68k/dev/cl.c b/sys/arch/mvme68k/dev/cl.c index f84d4aec2b1..722d365241b 100644 --- a/sys/arch/mvme68k/dev/cl.c +++ b/sys/arch/mvme68k/dev/cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl.c,v 1.35 2004/07/02 17:57:29 miod Exp $ */ +/* $OpenBSD: cl.c,v 1.36 2004/07/02 18:01:15 miod Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -191,7 +191,6 @@ void cl_appendbufn(struct clsoftc *sc, u_char channel, u_char *buf, u_short cnt) struct tty *cltty(dev_t); int cl_instat(struct clsoftc *); void clcnpollc(dev_t, int); -void cl_chkinput(void); void cl_break(struct clsoftc *, int); void cl_appendbuf(struct clsoftc *, u_char, u_char); @@ -205,8 +204,6 @@ struct cfdriver cl_cd = { #define CLCDBUF 80 -int dopoll = 1; - #define CL_UNIT(x) (minor(x) >> 2) #define CL_CHANNEL(x) (minor(x) & 3) #define CL_TTY(x) (minor(x)) @@ -1148,48 +1145,6 @@ if (unit == 0) { return; } -/* -#ifdef CLCD_DO_POLLED_INPUT -*/ -#if 1 -void -cl_chkinput() -{ - struct tty *tp; - int unit; - struct clsoftc *sc; - int channel; - - if (dopoll == 0) - return; - for (unit = 0; unit < cl_cd.cd_ndevs; unit++) { - if (unit >= cl_cd.cd_ndevs || - (sc = (struct clsoftc *) cl_cd.cd_devs[unit]) == NULL) { - continue; - } - if (cl_instat(sc)) { - while (cl_instat(sc)){ - int ch; - u_char c; - /* - *(pinchar++) = clcngetc(); - */ - ch = clgetc(sc,&channel) & 0xff; - c = ch; - - tp = sc->sc_cl[channel].tty; - if (NULL != tp) { - (*linesw[tp->t_line].l_rint)(c,tp); - } - } - /* - wakeup(tp); - */ - } - } -} -#endif - u_char clgetc(sc, channel) struct clsoftc *sc; |