diff options
author | 2007-05-08 16:07:03 +0000 | |
---|---|---|
committer | 2007-05-08 16:07:03 +0000 | |
commit | 44f0ae2da74a74d55f02b35f7b5725e200711cad (patch) | |
tree | e61650962c545c96b6b1c23002a567c90c026f1e | |
parent | ahb_debug should be inside #ifdef AHBDEBUG (diff) | |
download | wireguard-openbsd-44f0ae2da74a74d55f02b35f7b5725e200711cad.tar.xz wireguard-openbsd-44f0ae2da74a74d55f02b35f7b5725e200711cad.zip |
wdcrestart() is never used
-rw-r--r-- | sys/dev/ic/wdc.c | 16 | ||||
-rw-r--r-- | sys/dev/ic/wdcvar.h | 3 |
2 files changed, 2 insertions, 17 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index 0e2bea26a7d..692979dd260 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.95 2007/05/08 16:01:52 deraadt Exp $ */ +/* $OpenBSD: wdc.c,v 1.96 2007/05/08 16:07:03 deraadt Exp $ */ /* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */ @@ -969,20 +969,6 @@ wdcdetach(chp, flags) return (rv); } -/* restart an interrupted I/O */ -void -wdcrestart(v) - void *v; -{ - struct channel_softc *chp = v; - int s; - - s = splbio(); - wdcstart(chp); - splx(s); -} - - /* * Interrupt routine for the controller. Acknowledge the interrupt, check for * errors on the current operation, mark it done if necessary, and start the diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h index 56ed916f6d8..59f3b0504ad 100644 --- a/sys/dev/ic/wdcvar.h +++ b/sys/dev/ic/wdcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdcvar.h,v 1.40 2007/05/08 16:01:52 deraadt Exp $ */ +/* $OpenBSD: wdcvar.h,v 1.41 2007/05/08 16:07:03 deraadt Exp $ */ /* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */ /*- @@ -275,7 +275,6 @@ struct wdc_xfer *wdc_get_xfer(int); /* int = WDC_NOSLEEP/CANSLEEP */ #define WDC_NOSLEEP 0x01 void wdc_free_xfer(struct channel_softc *, struct wdc_xfer *); void wdcstart(struct channel_softc *); -void wdcrestart(void *); int wdcreset(struct channel_softc *, int); #define VERBOSE 1 #define SILENT 0 /* wdcreset will not print errors */ |