diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-21 12:09:02 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-21 12:09:02 +0000 |
commit | 24c0e0d714e8579089a2deed15d0c366d1af09a6 (patch) | |
tree | 702063979d8bb2bf2a7c95dfc783fc92466d5d1b /sys/dev/ata/ata_wdc.c | |
parent | 894c3b6b2e1c7043f92e847b2e28ea9b2d8c99be (diff) |
Delete #ifdef/#ifndef __OpenBSD__ chunks, leaving just the code we
use. Easier to read and eliminates a potentially confusing unused call
to wdgetdisklabel(). No change to object files.
ok brad@ dlg@ grange@ deraadt@ marco@
Diffstat (limited to 'sys/dev/ata/ata_wdc.c')
-rw-r--r-- | sys/dev/ata/ata_wdc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ata/ata_wdc.c b/sys/dev/ata/ata_wdc.c index 304bcc09973..8f3463d0bca 100644 --- a/sys/dev/ata/ata_wdc.c +++ b/sys/dev/ata/ata_wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ata_wdc.c,v 1.27 2004/06/02 18:55:08 grange Exp $ */ +/* $OpenBSD: ata_wdc.c,v 1.28 2006/08/21 12:09:01 krw Exp $ */ /* $NetBSD: ata_wdc.c,v 1.21 1999/08/09 09:43:11 bouyer Exp $ */ /* @@ -110,11 +110,9 @@ int wdcdebug_wd_mask = WDCDEBUG_WD_MASK; #define ATA_DELAY 10000 /* 10s for a drive I/O */ -#ifdef __OpenBSD__ struct cfdriver wdc_cd = { NULL, "wdc", DV_DULL }; -#endif void wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *); void _wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *); |