kill a couple of unnecessary #ifs

This commit is contained in:
cgd 1998-01-15 01:26:13 +00:00
parent aa872229e1
commit 8540a31ee3
2 changed files with 2 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wd.c,v 1.168 1998/01/14 23:41:59 cgd Exp $ */ /* $NetBSD: wd.c,v 1.169 1998/01/15 01:26:13 cgd Exp $ */
/* /*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -103,13 +103,7 @@ struct cfattach wd_ca = {
sizeof(struct wd_softc), wdprobe, wdattach sizeof(struct wd_softc), wdprobe, wdattach
}; };
#if (NetBSD > 199801 || NetBSD1_3 >= 3)
extern struct cfdriver wd_cd; extern struct cfdriver wd_cd;
#else
struct cfdriver wd_cd = {
NULL, "wd", DV_DISK
};
#endif
void wdgetdefaultlabel __P((struct wd_softc *, struct disklabel *)); void wdgetdefaultlabel __P((struct wd_softc *, struct disklabel *));
void wdgetdisklabel __P((struct wd_softc *)); void wdgetdisklabel __P((struct wd_softc *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc.c,v 1.12 1998/01/14 23:42:02 cgd Exp $ */ /* $NetBSD: wdc.c,v 1.13 1998/01/15 01:26:16 cgd Exp $ */
/* /*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -93,14 +93,6 @@
LIST_HEAD(xfer_free_list, wdc_xfer) xfer_free_list; LIST_HEAD(xfer_free_list, wdc_xfer) xfer_free_list;
#if (NetBSD > 199801 || NetBSD1_3 >= 3)
/* XXX nothing needed here */
#else
struct cfdriver wdc_cd = {
NULL, "wdc", DV_DULL
};
#endif
int wdc_init_controller __P((struct wdc_softc *, int wdc_init_controller __P((struct wdc_softc *,
const struct wdc_attachment_data *)); const struct wdc_attachment_data *));
void wdcstart __P((struct wdc_softc *)); void wdcstart __P((struct wdc_softc *));