diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-08 16:01:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-08 16:01:53 +0000 |
commit | b33a32d8d666680ad5e7d2de26d93bd0bcdefaf9 (patch) | |
tree | 03161b0e0870439a6cbac0e8b6d2fba8f3460c12 /sys/dev/ic | |
parent | 8d9169c0784068031ce16a65dcdea00b6384b264 (diff) |
atapi_print() is never used
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/wdc.c | 14 | ||||
-rw-r--r-- | sys/dev/ic/wdcvar.h | 4 |
2 files changed, 2 insertions, 16 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index 702e63926cb..0e2bea26a7d 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.94 2007/04/16 18:18:21 grange Exp $ */ +/* $OpenBSD: wdc.c,v 1.95 2007/05/08 16:01:52 deraadt Exp $ */ /* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */ @@ -442,18 +442,6 @@ wdprint(aux, pnp) return (UNCONF); } -int -atapi_print(aux, pnp) - void *aux; - const char *pnp; -{ - struct ata_atapi_attach *aa_link = aux; - if (pnp) - printf("atapiscsi at %s", pnp); - printf(" channel %d", aa_link->aa_channel); - return (UNCONF); -} - void wdc_disable_intr(chp) struct channel_softc *chp; diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h index 4f2ae1227d4..56ed916f6d8 100644 --- a/sys/dev/ic/wdcvar.h +++ b/sys/dev/ic/wdcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdcvar.h,v 1.39 2006/05/03 02:18:47 jsg Exp $ */ +/* $OpenBSD: wdcvar.h,v 1.40 2007/05/08 16:01:52 deraadt Exp $ */ /* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */ /*- @@ -307,8 +307,6 @@ void wdc_delref(struct channel_softc *); /* ATA/ATAPI specs says a device can take 31s to reset */ #define WDC_RESET_WAIT 31000 -int atapi_print(void *, const char *); - void wdc_disable_intr(struct channel_softc *); void wdc_enable_intr(struct channel_softc *); int wdc_select_drive(struct channel_softc *, int, int); |