diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-08 16:07:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-08 16:07:04 +0000 |
commit | 4cd52948580cebe6b137c67e8102785102e6f172 (patch) | |
tree | e997c59d757f3d1a8a715080022ac5e60e48fe97 /sys/dev | |
parent | ecb03ab485b4604de08c9dffd81a8d6284c8e214 (diff) |
wdcrestart() is never used
Diffstat (limited to 'sys/dev')
-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 */ |