summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2004-05-07 11:06:25 +0000
committerrik <rik@FreeBSD.org>2004-05-07 11:06:25 +0000
commit70641422ab67b54462faff53798c719b699b5f51 (patch)
tree9bb899d1e86245a193075dd29dbbbaaa2b7b2226 /sys/dev/cx
parentc0f6282aac2dbf191ab24740228514b50f5138b3 (diff)
downloadFreeBSD-src-70641422ab67b54462faff53798c719b699b5f51.zip
FreeBSD-src-70641422ab67b54462faff53798c719b699b5f51.tar.gz
Delete unused cx_slow_ih.
Pointed by: jhb
Diffstat (limited to 'sys/dev/cx')
-rw-r--r--sys/dev/cx/if_cx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index c287da2..dca49f6 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -226,7 +226,6 @@ static void disc_optim(struct tty *tp, struct termios *t);
static swihand_t cx_softintr;
#else
static void cx_softintr (void *);
-static void *cx_slow_ih;
static void *cx_fast_ih;
#endif
static void cx_down (drv_t *d);
@@ -3145,8 +3144,6 @@ static int cx_modevent (module_t mod, int type, void *unused)
#else
swi_add(&tty_ithd, "tty:cx", cx_softintr, NULL, SWI_TTY, 0,
&cx_fast_ih);
- swi_add(&clk_ithd, "tty:cx", cx_softintr, NULL, SWI_TTY, 0,
- &cx_slow_ih);
#endif
break;
case MOD_UNLOAD:
@@ -3163,7 +3160,6 @@ static int cx_modevent (module_t mod, int type, void *unused)
untimeout (cx_timeout, 0, timeout_handle);
#if __FreeBSD_version >= 500000
ithread_remove_handler (cx_fast_ih);
- ithread_remove_handler (cx_slow_ih);
#else
unregister_swi (SWI_TTY, cx_softintr);
#endif
OpenPOWER on IntegriCloud